Skip to content

Commit

Permalink
Fix #526. Let ShadowRoot.styleSheets return an empty StyleSheetList i…
Browse files Browse the repository at this point in the history
…f it is not in a shadow-including document
  • Loading branch information
hayatoito committed Jun 24, 2016
1 parent d69d50c commit 450bead
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/shadow/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1487,6 +1487,9 @@ <h3>Extensions to the <code><a href="https://dom.spec.whatwg.org/#documentorshad
<li>
Regarding <code>elementFromPoint</code> and <code>elementsFromPoints</code>, they should return the result of running the <a>retargeting algorithm</a> with <a>context object</a> and the original result as input.
</li>
<li>
Regarding <code>styleSheets</code>, it should return an empty <a>StyleSheetList</a> if the context object is not <a>in a shadow-including document</a>.
</li>
<li>
We should remove these methods and attributes from Document when this section is upstreamed to DOM Standard.
</li>
Expand Down

0 comments on commit 450bead

Please sign in to comment.