Skip to content

Commit 1f17223

Browse files
committed
[css-conditiona-3] Clean up placement prose. #5697
1 parent 0b31fa9 commit 1f17223

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

css-conditional-3/Overview.bs

+11-10
Original file line numberDiff line numberDiff line change
@@ -172,16 +172,17 @@ The user agent will consult the namespace map to see whether a namespace url exi
172172
<h2 id="use">
173173
Placement of conditional group rules</h2>
174174

175-
Conditional group rules are allowed at the top-level of a style
176-
sheet, and inside other conditional group rules. CSS processors
177-
<strong>must</strong> process such rules as <a
178-
href="#processing">described above</a>.
179-
180-
Any rules that are not allowed after a style rule (e.g., ''@charset'',
181-
''@import'', or ''@namespace'' rules) are also not allowed after a
182-
conditional group rule. Therefore, style sheets <strong>must
183-
not</strong> place such rules after a conditional group rule, and CSS
184-
processors <strong>must</strong> ignore such rules.
175+
Conditional group rules are allowed
176+
wherever [=style rules=] are allowed
177+
(at the top-level of a style sheet,
178+
as well as within other conditional group rules).
179+
CSS processors <strong>must</strong> process such rules
180+
as <a href="#processing">described above</a>.
181+
182+
Any [=at-rules=] that are not allowed after a style rule
183+
(e.g., ''@charset'', ''@import'', or ''@namespace'' rules)
184+
are also not allowed after a conditional group rule,
185+
and are therefore [=invalid=] when so placed.
185186

186187
<h2 id="at-media">
187188
Media-specific style sheets: the ''@media'' rule</h2>

0 commit comments

Comments
 (0)