@@ -1253,9 +1253,10 @@ Conditional Value Selection: the ''if()'' notation</h3>
1253
1253
Its argument consists of an ordered semi-colon–separated list of statements,
1254
1254
each consisting of a condition
1255
1255
followed by a colon
1256
- followed by the value represented by this notation
1257
- if the corresponding condition is the first in the list to be true.
1258
- If no condition matches,
1256
+ followed by a value.
1257
+ An ''if()'' notation represents
1258
+ the value corresponding to the first condition in its argument list to be true;
1259
+ if no condition matches,
1259
1260
then the ''if()'' notation represents an empty token stream.
1260
1261
1261
1262
Note: [=Arbitrary substitution functions=] all resolve at [=computed value=] time;
@@ -1269,12 +1270,15 @@ Conditional Value Selection: the ''if()'' notation</h3>
1269
1270
<dfn><<if()>></dfn> = if( [ <<if-condition>> : <<declaration-value>> ? ; ]*
1270
1271
<<if-condition>> : <<declaration-value>> ? ;? )
1271
1272
<dfn><<if-condition>></dfn> =
1272
- supports( [ <supports-condition> | <declaration> ] ) |
1273
+ supports( [ << supports-condition>> | <<ident>> : << declaration-value> > ] ) |
1273
1274
media( <<media-query>> ) |
1274
1275
style( <<style-query>> ) |
1275
1276
else
1276
1277
</pre>
1277
1278
1279
+ The <dfn value for="if()">else</dfn> keyword represents
1280
+ a condition that is always true.
1281
+
1278
1282
ISSUE: Incorporate boolean syntax for combining these queries.
1279
1283
1280
1284
<!-- Big Text: toggle()
0 commit comments