Skip to content

Commit

Permalink
[Fix #80] Add Node.treeRoot
Browse files Browse the repository at this point in the history
  • Loading branch information
hayatoito committed Jan 21, 2016
1 parent f986bf8 commit 6864a40
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions spec/shadow/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1450,6 +1450,26 @@ <h3>Extensions to <code>Text</code> Interface</h3>
</dl>
</section>

<section>
<h3>Extensions to <code>Node</code> Interface</h3>

<dl class="idl" title="partial interface Node">
<dt>readonly attribute Node treeRoot</dt>
<dd>
<p>
Represents the <a>root</a> node of the <a>context object</a>.
</p>
<p>
On getting, the attribute <strong>must</strong> return the <a>root</a> node of the <a>context object</a>
</p>
</dd>
</dl>
</section>

<p class="note">
If the <a>context object</a> participates in a <a>shadow tree</a>, <code>treeRoot</code> returns the shadow root.
</p>

<section>
<h3>The <code>slot</code> element</h3>

Expand Down

0 comments on commit 6864a40

Please sign in to comment.