blob: 7e2c14441c011a9b22b17488c9014dfa2d275831 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Feature queries: the ‘@supports’ rule - CSS Conditional Rules Module Level 3 CR Test Suite</title>
<style type="text/css">
@import "http://www.w3.org/StyleSheets/TR/base.css";
@import "../indices.css";
</style>
</head>
<body>
<h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1>
<h2>Feature queries: the ‘@supports’ rule (84 tests)</h2>
<table width="100%">
<col id="test-column"></col>
<col id="refs-column"></col>
<col id="flags-column"></col>
<col id="info-column"></col>
<thead>
<tr>
<th>Test</th>
<th><abbr title="Rendering References">Refs</abbr></th>
<th>Flags</th>
<th>Info</th>
</tr>
</thead>
<tbody id="s6">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6">+</a>
<a href="https://www.w3.org/TR/css3-conditional/#at-supports">6 Feature queries: the ‘@supports’ rule</a></th></tr>
<!-- 84 tests -->
<tr id="001-6" class="script">
<td>
<a href="001.xht">001</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>@supports rules OM support
</td>
</tr>
<tr id="at-supports-001-6" class="">
<td>
<a href="at-supports-001.xht">at-supports-001</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td></td>
<td>Support for simple passing conditions in @supports
</td>
</tr>
<tr id="at-supports-002-6" class="">
<td>
<a href="at-supports-002.xht">at-supports-002</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td></td>
<td>Support for @supports within @media
</td>
</tr>
<tr id="at-supports-003-6" class="">
<td>
<a href="at-supports-003.xht">at-supports-003</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td></td>
<td>Support for @media within @supports
</td>
</tr>
<tr id="at-supports-004-6" class="">
<td>
<a href="at-supports-004.xht">at-supports-004</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td></td>
<td>@supports within non-matching @media should not apply
</td>
</tr>
<tr id="at-supports-005-6" class="">
<td>
<a href="at-supports-005.xht">at-supports-005</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td></td>
<td>non-matching @media within @supports should not apply
</td>
</tr>
<tr id="at-supports-006-6" class="">
<td>
<a href="at-supports-006.xht">at-supports-006</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td></td>
<td>Nested parens around conditions in @supports should work
</td>
</tr>
<tr id="at-supports-007-6" class="">
<td>
<a href="at-supports-007.xht">at-supports-007</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td></td>
<td>Conjunctions of passing simple conditions in @supports should pass
</td>
</tr>
<tr id="at-supports-008-6" class="">
<td>
<a href="at-supports-008.xht">at-supports-008</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td></td>
<td>Disjunctions with at least a passing simple condition in @supports should pass
</td>
</tr>
<tr id="at-supports-009-6" class="">
<td>
<a href="at-supports-009.xht">at-supports-009</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td></td>
<td>Negations of failing simple conditions in @supports should pass
</td>
</tr>
<tr id="at-supports-010-6" class="">
<td>
<a href="at-supports-010.xht">at-supports-010</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td></td>
<td>Combinations of conjuctions, disjunctions, and negations of simple conditions in @supports should work
</td>
</tr>
<tr id="at-supports-011-6" class="invalid">
<td>
<a href="at-supports-011.xht">at-supports-011</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>Conditions not enclosed in parens in @supports should not work
</td>
</tr>
<tr id="at-supports-012-6" class="">
<td>
<a href="at-supports-012.xht">at-supports-012</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td></td>
<td>Conjunctions with more than two terms in @supports should work
</td>
</tr>
<tr id="at-supports-013-6" class="">
<td>
<a href="at-supports-013.xht">at-supports-013</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td></td>
<td>Disjunction with more than two terms in @supports should work
</td>
</tr>
<tr id="at-supports-014-6" class="invalid">
<td>
<a href="at-supports-014.xht">at-supports-014</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>Negations in @supports should not work if "not" isn't follow by a space
</td>
</tr>
<tr id="at-supports-015-6" class="">
<td>
<a href="at-supports-015.xht">at-supports-015</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td></td>
<td>Bizarre syntax that still conforms to the core grammar should succesfully parse in @supports
</td>
</tr>
<tr id="at-supports-016-6" class="invalid">
<td>
<a href="at-supports-016.xht">at-supports-016</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>In @supports, parens are required to mix conjunctions with disjunctions
</td>
</tr>
<tr id="at-supports-017-6" class="">
<td>
<a href="at-supports-017.xht">at-supports-017</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td></td>
<td>In @supports, functions can be parsed successfully
</td>
</tr>
<tr id="at-supports-018-6" class="">
<td>
<a href="at-supports-018.xht">at-supports-018</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td></td>
<td>In @supports conditions, the arguments of a function can begin with spaces
</td>
</tr>
<tr id="at-supports-019-6" class="invalid">
<td>
<a href="at-supports-019.xht">at-supports-019</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>Incorrect syntax in @supports recovers properly
</td>
</tr>
<tr id="at-supports-020-6" class="invalid">
<td>
<a href="at-supports-020.xht">at-supports-020</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>Incorrect syntax in @supports recovers properly
</td>
</tr>
<tr id="at-supports-021-6" class="invalid">
<td>
<a href="at-supports-021.xht">at-supports-021</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>Incorrect syntax in @supports recovers properly
</td>
</tr>
<tr id="at-supports-022-6" class="invalid">
<td>
<a href="at-supports-022.xht">at-supports-022</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>Incorrect syntax in @supports recovers properly
</td>
</tr>
<tr id="at-supports-023-6" class="invalid">
<td>
<a href="at-supports-023.xht">at-supports-023</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>Incorrect syntax in nested @supports recovers properly
</td>
</tr>
<tr id="at-supports-024-6" class="invalid">
<td>
<a href="at-supports-024.xht">at-supports-024</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>Incorrect syntax in @supports recovers properly
</td>
</tr>
<tr id="at-supports-025-6" class="invalid">
<td>
<a href="at-supports-025.xht">at-supports-025</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>Incorrect syntax in @supports recovers properly
</td>
</tr>
<tr id="at-supports-026-6" class="invalid">
<td>
<a href="at-supports-026.xht">at-supports-026</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>Incorrect syntax in @supports recovers properly
</td>
</tr>
<tr id="at-supports-027-6" class="invalid">
<td>
<a href="at-supports-027.xht">at-supports-027</a></td>
<td><a href="reference/at-supports-027-ref.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>Incorrect syntax in @supports recovers properly
</td>
</tr>
<tr id="at-supports-028-6" class="invalid">
<td>
<a href="at-supports-028.xht">at-supports-028</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>Incorrect syntax in @supports recovers properly
</td>
</tr>
<tr id="at-supports-029-6" class="invalid">
<td>
<a href="at-supports-029.xht">at-supports-029</a></td>
<td><a href="reference/at-supports-027-ref.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>Incorrect syntax in @supports recovers properly
</td>
</tr>
<tr id="at-supports-030-6" class="invalid">
<td>
<a href="at-supports-030.xht">at-supports-030</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>Incorrect syntax in @supports recovers properly
</td>
</tr>
<tr id="at-supports-031-6" class="invalid">
<td>
<a href="at-supports-031.xht">at-supports-031</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>Incorrect syntax in @supports recovers properly
</td>
</tr>
<tr id="at-supports-032-6" class="invalid">
<td>
<a href="at-supports-032.xht">at-supports-032</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>Incorrect syntax in @supports recovers properly
</td>
</tr>
<tr id="at-supports-033-6" class="invalid">
<td>
<a href="at-supports-033.xht">at-supports-033</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>Incorrect syntax in @supports recovers properly
</td>
</tr>
<tr id="at-supports-034-6" class="invalid">
<td>
<a href="at-supports-034.xht">at-supports-034</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>Incorrect syntax of supports condition
<ul class="assert">
<li>Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'.</li>
</ul>
</td>
</tr>
<tr id="at-supports-035-6" class="invalid">
<td>
<a href="at-supports-035.xht">at-supports-035</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>Incorrect syntax of supports condition
<ul class="assert">
<li>Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'.</li>
</ul>
</td>
</tr>
<tr id="at-supports-036-6" class="invalid">
<td>
<a href="at-supports-036.xht">at-supports-036</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>Incorrect syntax of supports condition
<ul class="assert">
<li>Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'.</li>
</ul>
</td>
</tr>
<tr id="at-supports-037-6" class="invalid">
<td>
<a href="at-supports-037.xht">at-supports-037</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>Incorrect syntax of supports condition
<ul class="assert">
<li>Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'.</li>
</ul>
</td>
</tr>
<tr id="at-supports-038-6" class="invalid">
<td>
<a href="at-supports-038.xht">at-supports-038</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>a supports condition declaration can not end with a semi-colon
<ul class="assert">
<li>Each individual single supports condition declaration can not end up with a semi-colon ';'. A semi-colon is a punctuation separator of multiple CSS declarations and thus is not part of an individual CSS declaration per se.</li>
</ul>
</td>
</tr>
<tr id="at-supports-039-6" class="invalid">
<td>
<a href="at-supports-039.xht">at-supports-039</a></td>
<td><a href="reference/at-supports-001-ref.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>a supports condition declaration can not end with a semi-colon
<ul class="assert">
<li>Each individual single supports condition declaration can not end up with a semi-colon ';'. A semi-colon is a punctuation separator of multiple CSS declarations and thus is not part of an individual CSS declaration per se.</li>
</ul>
</td>
</tr>
<tr id="css-supports-001-6" class="">
<td>
<a href="css-supports-001.xht">css-supports-001</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule with valid syntax and a passing condition must apply rules inside it
<ul class="assert">
<li>An @supports rule condition with a single, valid property declaration for a supported property must cause the rules inside the @supports rule to apply.</li>
</ul>
</td>
</tr>
<tr id="css-supports-002-6" class="invalid">
<td>
<a href="css-supports-002.xht">css-supports-002</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>An @supports rule with invalid syntax must not apply rules inside it
<ul class="assert">
<li>Property declarations in an @supports rule condition must be surrounded by parentheses.</li>
</ul>
</td>
</tr>
<tr id="css-supports-003-6" class="">
<td>
<a href="css-supports-003.xht">css-supports-003</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule with valid syntax and a passing condition must apply rules inside it
<ul class="assert">
<li>Any subexpression in an @supports rule condition can be surrounded by an extra pair of parentheses.</li>
</ul>
</td>
</tr>
<tr id="css-supports-004-6" class="">
<td>
<a href="css-supports-004.xht">css-supports-004</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule with valid syntax and a passing condition must apply rules inside it
<ul class="assert">
<li>Property declarations in an @supports rule can have !important specified.</li>
</ul>
</td>
</tr>
<tr id="css-supports-005-6" class="">
<td>
<a href="css-supports-005.xht">css-supports-005</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule with valid syntax but a failing condition must not apply rules inside it
<ul class="assert">
<li>A supported property with an unsupported value must cause the @supports condition to fail.</li>
</ul>
</td>
</tr>
<tr id="css-supports-006-6" class="">
<td>
<a href="css-supports-006.xht">css-supports-006</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule with valid syntax and a passing condition must apply rules inside it
<ul class="assert">
<li>A disjunction of two @supports conditions must cause the @supports condition to pass if the left condition passes.</li>
</ul>
</td>
</tr>
<tr id="css-supports-007-6" class="">
<td>
<a href="css-supports-007.xht">css-supports-007</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule with valid syntax and a passing condition must apply rules inside it
<ul class="assert">
<li>A disjunction of two @supports conditions must cause the @supports condition to pass if the right condition passes.</li>
</ul>
</td>
</tr>
<tr id="css-supports-008-6" class="">
<td>
<a href="css-supports-008.xht">css-supports-008</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule with valid syntax and a passing condition must apply rules inside it
<ul class="assert">
<li>A conjunction of two @supports conditions must cause the @supports condition to pass if both sub-conditions pass.</li>
</ul>
</td>
</tr>
<tr id="css-supports-009-6" class="">
<td>
<a href="css-supports-009.xht">css-supports-009</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule with valid syntax but a failing condition must not apply rules inside it
<ul class="assert">
<li>A conjunction of two @supports conditions must cause the @supports condition to fail if the left sub-condition passes.</li>
</ul>
</td>
</tr>
<tr id="css-supports-010-6" class="">
<td>
<a href="css-supports-010.xht">css-supports-010</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule with valid syntax but a failing condition must not apply rules inside it
<ul class="assert">
<li>A conjunction of two @supports conditions must cause the @supports condition to fail if the right sub-condition passes.</li>
</ul>
</td>
</tr>
<tr id="css-supports-011-6" class="">
<td>
<a href="css-supports-011.xht">css-supports-011</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule with valid syntax and a passing condition must apply rules inside it
<ul class="assert">
<li>A disjunction of three @supports conditions must cause the @supports condition to pass if at least one of the sub-conditions passes.</li>
</ul>
</td>
</tr>
<tr id="css-supports-012-6" class="">
<td>
<a href="css-supports-012.xht">css-supports-012</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule with valid syntax and a passing condition must apply rules inside it
<ul class="assert">
<li>A conjunction of three @supports conditions must cause the @supports condition to pass if all three sub-conditions pass.</li>
</ul>
</td>
</tr>
<tr id="css-supports-013-6" class="invalid">
<td>
<a href="css-supports-013.xht">css-supports-013</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>An @supports rule with invalid syntax must not apply rules inside it
<ul class="assert">
<li>A disjunction and a conjunction of @supports conditions must not be combined unless one of the two is surrounded by parentheses.</li>
</ul>
</td>
</tr>
<tr id="css-supports-014-6" class="invalid">
<td>
<a href="css-supports-014.xht">css-supports-014</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>An @supports rule with invalid syntax must not apply rules inside it
<ul class="assert">
<li>A disjunction and a conjunction of @supports conditions must not be combined unless one of the two is surrounded by parentheses.</li>
</ul>
</td>
</tr>
<tr id="css-supports-015-6" class="">
<td>
<a href="css-supports-015.xht">css-supports-015</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule with valid syntax and a passing condition must apply rules inside it
<ul class="assert">
<li>There need not be any white space between the '@supports' and open brace of the rule set, nor between a declaration's property name and value.</li>
</ul>
</td>
</tr>
<tr id="css-supports-016-6" class="">
<td>
<a href="css-supports-016.xht">css-supports-016</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule with valid syntax and a passing condition must apply rules inside it
<ul class="assert">
<li>A negation of an @supports condition must pass if and only if the sub-condition fails. The sub-condition here is a supported property name with an unsupported value.</li>
</ul>
</td>
</tr>
<tr id="css-supports-017-6" class="invalid">
<td>
<a href="css-supports-017.xht">css-supports-017</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>An @supports rule with invalid syntax must not apply rules inside it
<ul class="assert">
<li>The sub-condition of a negation in an @supports condition must be in parentheses.</li>
</ul>
</td>
</tr>
<tr id="css-supports-018-6" class="">
<td>
<a href="css-supports-018.xht">css-supports-018</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule with valid syntax and a passing condition must apply rules inside it
<ul class="assert">
<li>The sub-condition of a negation in an @supports condition must be in parentheses.</li>
</ul>
</td>
</tr>
<tr id="css-supports-019-6" class="invalid">
<td>
<a href="css-supports-019.xht">css-supports-019</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>An @supports rule with invalid syntax must not apply rules inside it
<ul class="assert">
<li>A conjunction in an @supports condition must have both sub-conditions enclosed in parentheses.</li>
</ul>
</td>
</tr>
<tr id="css-supports-020-6" class="">
<td>
<a href="css-supports-020.xht">css-supports-020</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule with valid syntax but a failing condition must not apply rules inside it
<ul class="assert">
<li>An @supports condition that is a declaration with a supported property name with an unsupported value must fail.</li>
</ul>
</td>
</tr>
<tr id="css-supports-021-6" class="">
<td>
<a href="css-supports-021.xht">css-supports-021</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule with valid syntax but a failing condition must not apply rules inside it
<ul class="assert">
<li>A disjunction of two @supports conditions must cause the @supports condition to pass if one condition passes and the other fails due to being an unsupported property.</li>
</ul>
</td>
</tr>
<tr id="css-supports-022-6" class="">
<td>
<a href="css-supports-022.xht">css-supports-022</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule with balanced invalid syntax within parentheses must evaluate to false
<ul class="assert">
<li>An @supports condition must successfully parse even if a declaration has an empty property value.</li>
</ul>
</td>
</tr>
<tr id="css-supports-023-6" class="">
<td>
<a href="css-supports-023.xht">css-supports-023</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule with balanced invalid syntax within parentheses must evaluate to false
<ul class="assert">
<li>An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses.</li>
</ul>
</td>
</tr>
<tr id="css-supports-024-6" class="">
<td>
<a href="css-supports-024.xht">css-supports-024</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule with valid syntax and a passing condition must apply rules inside it
<ul class="assert">
<li>A supported shorthand property declaration must be considered to pass.</li>
</ul>
</td>
</tr>
<tr id="css-supports-025-6" class="">
<td>
<a href="css-supports-025.xht">css-supports-025</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>A nested @supports rule with valid syntax and a passing condition must apply rules inside it
<ul class="assert">
<li>An inner @supports rule inside an outer @supports must apply its child rules only if both @supports conditions succeeded.</li>
</ul>
</td>
</tr>
<tr id="css-supports-026-6" class="">
<td>
<a href="css-supports-026.xht">css-supports-026</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>A nested @supports rule with valid syntax and a passing condition must apply rules inside it
<ul class="assert">
<li>An outer @supports rule with an inner @media rule must apply the rules inside the @media only if both the @supports and @media conditions pass.</li>
</ul>
</td>
</tr>
<tr id="css-supports-029-6" class="">
<td>
<a href="css-supports-029.xht">css-supports-029</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule with valid syntax and a passing condition must apply rules inside it
<ul class="assert">
<li>A disjunction in an @supports condition must have both sub-conditions enclosed in parentheses.</li>
</ul>
</td>
</tr>
<tr id="css-supports-030-6" class="">
<td>
<a href="css-supports-030.xht">css-supports-030</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule with valid syntax and a passing condition must apply rules inside it
<ul class="assert">
<li>A disjunction in an @supports condition must have both sub-conditions enclosed in parentheses.</li>
</ul>
</td>
</tr>
<tr id="css-supports-031-6" class="">
<td>
<a href="css-supports-031.xht">css-supports-031</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule with balanced invalid syntax within parentheses must evaluate to false
<ul class="assert">
<li>An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses.</li>
</ul>
</td>
</tr>
<tr id="css-supports-032-6" class="">
<td>
<a href="css-supports-032.xht">css-supports-032</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule with balanced invalid syntax must evaluate to false
<ul class="assert">
<li>An @supports condition must successfully parse and evaluate to false a parenthesized expression has invalid syntax.</li>
</ul>
</td>
</tr>
<tr id="css-supports-033-6" class="">
<td>
<a href="css-supports-033.xht">css-supports-033</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule with balanced invalid syntax must evaluate to false
<ul class="assert">
<li>An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses.</li>
</ul>
</td>
</tr>
<tr id="css-supports-034-6" class="">
<td>
<a href="css-supports-034.xht">css-supports-034</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule with balanced invalid syntax must evaluate to false
<ul class="assert">
<li>An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses.</li>
</ul>
</td>
</tr>
<tr id="css-supports-035-6" class="invalid">
<td>
<a href="css-supports-035.xht">css-supports-035</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>An @supports rule with unbalanced invalid syntax must fail to parse
<ul class="assert">
<li>An @supports condition with a parenthesized expression that has unbalanced parentheses must fail to parse.</li>
</ul>
</td>
</tr>
<tr id="css-supports-036-6" class="">
<td>
<a href="css-supports-036.xht">css-supports-036</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule with an unrecognized condition using functional notation must evaluate to false
<ul class="assert">
<li>An @supports condition with an unrecognized condition using functional notation must evaluate to false.</li>
</ul>
</td>
</tr>
<tr id="css-supports-037-6" class="invalid">
<td>
<a href="css-supports-037.xht">css-supports-037</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>An @supports rule with an unrecognized condition using functional notation with unbalanced parentheses must fail to parse
<ul class="assert">
<li>An @supports condition with an unrecognized condition using functional notation with unbalanced parentheses must fail to parse.</li>
</ul>
</td>
</tr>
<tr id="css-supports-038-6" class="">
<td>
<a href="css-supports-038.xht">css-supports-038</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>In an @supports rule "not(" must be parsed as a FUNCTION
<ul class="assert">
<li>An @supports condition with 'not(' must parse be parsed as a FUNCTION token.</li>
</ul>
</td>
</tr>
<tr id="css-supports-039-6" class="invalid">
<td>
<a href="css-supports-039.xht">css-supports-039</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
<td>In an @supports rule "or(" must be parsed as a FUNCTION
<ul class="assert">
<li>An @supports condition with 'or(' must parse be parsed as a FUNCTION token.</li>
</ul>
</td>
</tr>
<tr id="css-supports-040-6" class="">
<td>
<a href="css-supports-040.xht">css-supports-040</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule condition with empty parentheses should evaluates to false
<ul class="assert">
<li>An @supports rule condition that consists just of a pair of parentheses should evaluate to false.</li>
</ul>
</td>
</tr>
<tr id="css-supports-041-6" class="">
<td>
<a href="css-supports-041.xht">css-supports-041</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule condition with empty parentheses should evaluates to false
<ul class="assert">
<li>An @supports rule condition that consists just of a pair of parentheses should evaluate to false.</li>
</ul>
</td>
</tr>
<tr id="css-supports-042-6" class="">
<td>
<a href="css-supports-042.xht">css-supports-042</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule condition with an unexpected token before the closing paren of a supports_condition_in_parens should parse as a general_enclosed
<ul class="assert">
<li>An @supports rule condition that has an unexpected token before the closing paren of a supports_condition_in_parens should parse as a general_enclosed and evaluate to false rather than fail to parse.</li>
</ul>
</td>
</tr>
<tr id="css-supports-043-6" class="">
<td>
<a href="css-supports-043.xht">css-supports-043</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule condition with a bogus priority should evaluate to false
<ul class="assert">
<li>An @supports rule condition with a bogus priority should evaluate to false</li>
</ul>
</td>
</tr>
<tr id="css-supports-044-6" class="">
<td>
<a href="css-supports-044.xht">css-supports-044</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule condition with tokens after the priority should evaluate to false
<ul class="assert">
<li>An @supports rule condition with tokens after the priority should evaluate to false</li>
</ul>
</td>
</tr>
<tr id="css-supports-045-6" class="">
<td>
<a href="css-supports-045.xht">css-supports-045</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>An @supports rule condition with two priorities should evaluate to false
<ul class="assert">
<li>An @supports rule condition with two priorities should evaluate to false</li>
</ul>
</td>
</tr>
<tr id="css-supports-046-6" class="">
<td>
<a href="css-supports-046.xht">css-supports-046</a></td>
<td><a href="support/pass.xht">=</a> </td>
<td></td>
<td>A nested @supports rule with valid syntax and a passing condition must apply rules inside it
<ul class="assert">
<li>An outer @media rule with an inner @supports rule must apply the rules inside the @supports only if both the @supports and @media conditions pass.</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s6.#atsupports-rule">
<!-- 0 tests -->
</tbody>
<tbody id="s6.#general_enclosed">
<!-- 0 tests -->
</tbody>
<tbody id="s6.#or">
<!-- 0 tests -->
</tbody>
<tbody id="s6.#supports_condition">
<!-- 0 tests -->
</tbody>
<tbody id="s6.#supports_condition_in_parens">
<!-- 0 tests -->
</tbody>
<tbody id="s6.#supports_conjunction">
<!-- 0 tests -->
</tbody>
<tbody id="s6.#supports_declaration_condition">
<!-- 0 tests -->
</tbody>
<tbody id="s6.#supports_disjunction">
<!-- 0 tests -->
</tbody>
<tbody id="s6.#supports_negation">
<!-- 0 tests -->
</tbody>
<tbody id="s6.#supports_rule">
<!-- 0 tests -->
</tbody>
<tbody id="s6.#supports_sym">
<!-- 0 tests -->
</tbody>
<tbody id="s6.1">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.1">+</a>
<a href="https://www.w3.org/TR/css3-conditional/#support-definition">6.1 Definition of support</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.1.#dfn-support">
<!-- 0 tests -->
</tbody>
</table>
</body>
</html>
|