Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix update a style block to match reality and CSSWG resolution. #6294

Merged
merged 1 commit into from
Jan 25, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -15102,11 +15102,10 @@ interface <dfn>HTMLStyleElement</dfn> : <span>HTMLElement</span> {
<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>'s <span>root</span> is neither a <span>shadow root</span> nor a
<span>document</span>, then return.</p></li>
<!-- https://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 <var>element</var> is not <span>connected</span>, then return.</p></li>
<!-- See:
https://software.hixie.ch/utilities/js/live-dom-viewer/?saved=2740
https://github.com/w3c/csswg-drafts/issues/3096 -->

<li>
<p>If <var>element</var>'s <code data-x="attr-style-type">type</code> attribute is present and
Expand Down