Skip to content

Commit

Permalink
Make <style> work for disconnected shadow trees
Browse files Browse the repository at this point in the history
Fixes #1194.
  • Loading branch information
annevk authored and domenic committed May 6, 2016
1 parent 3ac179e commit 3210b7c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -14114,8 +14114,11 @@ c-end = "-->"</pre>
<li><p>If <var>element</var> has an <span>associated CSS style sheet</span>, <span
data-x="remove a CSS style sheet">remove the CSS style sheet</span> in question.</p></li>

<li><p>If <var>element</var> is not <span>in a shadow-including document</span>, then abort these
steps.</p></li> <!-- http://software.hixie.ch/utilities/js/live-dom-viewer/saved/2740 -->
<li><p>If <var>element</var>'s <span>root</span> is neither a <span>shadow root</span> nor a
<span>document</span>, then abort these steps.</p></li>
<!-- http://software.hixie.ch/utilities/js/live-dom-viewer/saved/2740
Also, per https://github.com/w3c/webcomponents/issues/56 stylesheets should work in
disconnected shadow trees. -->

<li><p>If the <span>Should element's inline behavior be blocked by Content Security
Policy?</span> algorithm returns "<code data-x="">Blocked</code>" when executed upon the
Expand Down

0 comments on commit 3210b7c

Please sign in to comment.