Skip to content

Commit c63f712

Browse files
Specify adding disabled="" to <link rel=stylesheet>
1 parent a533464 commit c63f712

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

source

+5
Original file line numberDiff line numberDiff line change
@@ -3941,6 +3941,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
39413941
<li><dfn data-x-href="https://drafts.csswg.org/cssom/#associated-css-style-sheet">associated CSS style sheet</dfn></li>
39423942
<li><dfn data-x-href="https://drafts.csswg.org/cssom/#create-a-constructed-cssstylesheet">create a constructed <code>CSSStyleSheet</code></dfn></li>
39433943
<li><dfn data-x-href="https://drafts.csswg.org/cssom/#synchronously-replace-the-rules-of-a-cssstylesheet">synchronously replace the rules of a <code>CSSStyleSheet</code></dfn></li>
3944+
<li><dfn data-x-href="https://drafts.csswg.org/cssom/#disable-a-css-style-sheet">disable a CSS style sheet</dfn></li>
39443945
<li>
39453946
<dfn data-x="CSS style sheet"
39463947
data-x-href="https://drafts.csswg.org/cssom/#css-style-sheet">CSS style sheets</dfn> and their
@@ -27393,6 +27394,10 @@ document.body.appendChild(wbr);</code></pre>
2739327394

2739427395
<div w-nodev>
2739527396

27397+
<p>When the <code data-x="attr-link-disabled">disabled</code> attribute of a <code>link</code>
27398+
element with a <code data-x="rel-stylesheet">stylesheet</code> keyword is set, <span
27399+
data-x="disable a CSS style sheet">disable</span> the <span>associated CSS style sheet</span>.</p>
27400+
2739627401
<p>The appropriate times to <span data-x="fetch and process the linked resource">fetch and
2739727402
process</span> this type of link are:
2739827403

0 commit comments

Comments
 (0)