Skip to content

Commit

Permalink
Shadow: add DocumentOrShadowRoot mixin
Browse files Browse the repository at this point in the history
See WICG/webcomponents#91 for context.
  • Loading branch information
annevk committed Mar 15, 2016
1 parent db1362f commit 4183385
Show file tree
Hide file tree
Showing 2 changed files with 91 additions and 56 deletions.
16 changes: 16 additions & 0 deletions dom.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1898,6 +1898,22 @@ method, when invoked, must return the first <a for="/">element</a>, in <a>tree o
there is no such <a for="/">element</a> otherwise.


<h4 id=mixin-documentorshadowroot>Mixin {{DocumentOrShadowRoot}}</h4>

<pre class=idl>
[NoInterfaceObject,
Exposed=Window]
interface DocumentOrShadowRoot {
};
Document implements DocumentOrShadowRoot;
ShadowRoot implements DocumentOrShadowRoot;
</pre>

<p class="note no-backref">The {{DocumentOrShadowRoot}} mixin is expected to be used by other
standards that want to define APIs shared between <a for=/>documents</a> and
<a for=/>shadow roots</a>.


<h4 id=interface-parentnode>Mixin {{ParentNode}}</h4>

To
Expand Down
Loading

0 comments on commit 4183385

Please sign in to comment.