Skip to content

Commit

Permalink
Specify adding disabled="" to <link rel=stylesheet>
Browse files Browse the repository at this point in the history
  • Loading branch information
sideshowbarker authored Sep 28, 2023
1 parent a533464 commit c63f712
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -3941,6 +3941,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<li><dfn data-x-href="https://drafts.csswg.org/cssom/#associated-css-style-sheet">associated CSS style sheet</dfn></li>
<li><dfn data-x-href="https://drafts.csswg.org/cssom/#create-a-constructed-cssstylesheet">create a constructed <code>CSSStyleSheet</code></dfn></li>
<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>
<li><dfn data-x-href="https://drafts.csswg.org/cssom/#disable-a-css-style-sheet">disable a CSS style sheet</dfn></li>
<li>
<dfn data-x="CSS style sheet"
data-x-href="https://drafts.csswg.org/cssom/#css-style-sheet">CSS style sheets</dfn> and their
Expand Down Expand Up @@ -27393,6 +27394,10 @@ document.body.appendChild(wbr);</code></pre>

<div w-nodev>

<p>When the <code data-x="attr-link-disabled">disabled</code> attribute of a <code>link</code>
element with a <code data-x="rel-stylesheet">stylesheet</code> keyword is set, <span
data-x="disable a CSS style sheet">disable</span> the <span>associated CSS style sheet</span>.</p>

<p>The appropriate times to <span data-x="fetch and process the linked resource">fetch and
process</span> this type of link are:

Expand Down

0 comments on commit c63f712

Please sign in to comment.