Skip to content

Commit 23ea59a

Browse files
domfarolinosvgeesus
authored andcommitted
Move 'contributes' check to add a CSS style sheet
1 parent 86cda65 commit 23ea59a

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

cssom-1/Overview.bs

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1157,9 +1157,14 @@ steps:
11571157

11581158
<ol>
11591159
<li>Add the <a>CSS style sheet</a> to the list of
1160-
<a>document or shadow root CSS style sheets</a> at the appropriate location. The
1161-
remainder of these steps deal with the
1162-
<a>disabled flag</a>.
1160+
<a>document or shadow root CSS style sheets</a> at the appropriate location.
1161+
1162+
<li>
1163+
<p>If the <a>CSS style sheet</a>'s <a for=CSSStyleSheet>owner node</a> <a>contributes a
1164+
script-blocking style sheet</a>, then user agents must <a for=list>append</a> the <a
1165+
for=CSSStyleSheet>owner node</a> to its <a>node document</a>'s <a for=Document>script-blocking
1166+
style sheet set</a>.</p>
1167+
<p class="note">The remainder of these steps deal with the <a>disabled flag</a>.</p>
11631168

11641169
<li>If the <a>disabled flag</a> is set, then return.
11651170

@@ -1544,10 +1549,6 @@ must be run:
15441549
</ol>
15451550
</ol>
15461551

1547-
If <var>node</var> <a>contributes a script-blocking style sheet</a>, then user agents must <a
1548-
for=list>append</a> <var>node</var> to its <a>node document</a>'s <a for=Document>script-blocking
1549-
style sheet set</a>.
1550-
15511552
</div>
15521553

15531554
### Requirements on user agents Implementing the HTTP Link Header ### {#requirements-on-user-agents-implementing-the-http-link-header}

0 commit comments

Comments
 (0)