@@ -238,7 +238,8 @@ tied to the support for certain features, as is the case for use of new
238
238
layout system features.
239
239
240
240
The syntax of the condition in the ''@supports'' rule
241
- is similar to that defined for <<media-condition>> in [[MEDIAQUERIES-4]] :
241
+ is similar to that defined for <<media-condition>> in [[MEDIAQUERIES-4]] ,
242
+ but without the "unknown" value logic:
242
243
243
244
* negation is needed so that
244
245
the new-feature styles and the fallback styles
@@ -250,10 +251,6 @@ is similar to that defined for <<media-condition>> in [[MEDIAQUERIES-4]]:
250
251
* disjunction (or) is needed
251
252
when there are multiple alternative features for a set of styles,
252
253
particularly when some of those alternatives are vendor-prefixed properties or values.
253
- * "unknown" values (neither true nor false) are needed
254
- to allow for future-compatibility,
255
- so new types of support queries can be added
256
- and treated sensibly in older UAs.
257
254
258
255
Therefore, the syntax of the ''@supports'' rule allows
259
256
testing for property:value pairs, and arbitrary conjunctions (and),
@@ -297,27 +294,24 @@ as follows:
297
294
298
295
: not <<supports-in-parens>>
299
296
:: The result is the negation of the <<supports-in-parens>> term.
300
- The negation of unknown is unknown.
301
297
302
298
: <<supports-in-parens>> [ and <<supports-in-parens>> ] *
303
299
::
304
300
The result is true if all of the <<supports-in-parens>> child terms are true,
305
- false if at least one of the <<supports-in-parens>> is false,
306
- and unknown otherwise.
301
+ and false otherwise.
307
302
308
303
: <<supports-in-parens>> [ or <<supports-in-parens>> ] *
309
304
::
310
305
The result is false if all of the <<supports-in-parens>> child terms are false,
311
- true if at least one of the <<supports-in-parens>> is true,
312
- and unknown otherwise.
306
+ and true otherwise.
313
307
314
308
: <<supports-decl>>
315
309
::
316
310
The result is true if the UA [=supports=] the declaration within the parentheses.
317
311
318
312
: <<general-enclosed>>
319
313
::
320
- The result is unknown .
314
+ The result is false .
321
315
322
316
Authors must not use <<general-enclosed>> in their stylesheets.
323
317
<span class='note'> It exists only for future-compatibility,
0 commit comments