@@ -16,10 +16,11 @@ Editor: Chris Lilley, W3C, https://svgees.us/, w3cid 1438
16
16
Abstract : This module contains the features of CSS for conditional processing of parts of
17
17
style sheets, conditioned on capabilities of the processor or the
18
18
document the style sheet is being applied to. It includes and extends the
19
- functionality of CSS level 2 [[!CSS21]], which builds on CSS level 1
20
- [[CSS1]]. The main extensions compared to level 2 are allowing nesting of
21
- certain at-rules inside ''@media'', and the addition of the ''@supports'' rule for
22
- conditional processing.
19
+ functionality of CSS lConditional 3 [[!css-conditional-3]].
20
+ The main extensions compared to level 3 are
21
+ the Generalized Conditional ''@when''
22
+ and Chained Conditional ''@else'' rules, and
23
+ the addition of selector and font technology queries to the the ''@supports'' rule.
23
24
Default Highlight : css
24
25
</pre>
25
26
@@ -38,9 +39,6 @@ It adds extensions to the ''@supports'' rule
38
39
to allow testing for supported selectors
39
40
and supported font technologies.
40
41
41
- It also adds generalized conditional rules
42
- and chained conditional rules.
43
-
44
42
It also adds an ''@when'' rule,
45
43
which generalizes the concept of a conditional rule.
46
44
Anything you can express in an existing conditional rule
@@ -62,7 +60,7 @@ which immediately follow conditional rules
62
60
and automatically qualify their conditions as you'd expect,
63
61
such that at <em> most one rule</em> in an <a>conditional rule chain</a> is chosen as active.
64
62
65
- Issue: In the future, copy the contents of [[css3 -conditional]] into this document.
63
+ Issue: In the future, copy the contents of [[css -conditional-3 ]] into this document.
66
64
67
65
<h2 id="at-supports-ext">Extensions to the ''@supports'' rule</h2>
68
66
0 commit comments