Skip to content

Commit 0f14df7

Browse files
committed
Bug 1696985 [wpt PR 27899] - Make custom properties that are IACVT guaranteed-invalid, a=testonly
Automatic update from web-platform-tests Make custom properties that are IACVT guaranteed-invalid Per recent spec change [1], custom properties that are invalid at computed-value time (IACVT) shall become guaranteed-invalid [2] if the custom property supports guaranteed-invalid values. [1] w3c/csswg-drafts#6006 [2] https://drafts.csswg.org/css-variables/#guaranteed-invalid-value Fixed: 1110188 I2S: https://groups.google.com/a/chromium.org/g/blink-dev/c/0xrbzYe_vxU/m/7bsL76n9CgAJ Change-Id: Ibfbb0c641abaf29f099e082115d5f04f77637840 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2734621 Reviewed-by: Xiaocheng Hu <xiaochenghchromium.org> Commit-Queue: Anders Hartvoll Ruud <andruudchromium.org> Cr-Commit-Position: refs/heads/master{#860161} -- wpt-commits: 0d5b3606745216381bf97decbd3d0177f9d7f697 wpt-pr: 27899 UltraBlame original commit: 632b903fc0d9ad3336667795486e8b35aab68976
1 parent bef41ad commit 0f14df7

5 files changed

+48
-35
lines changed

testing/web-platform/tests/css/css-env/env-in-custom-properties.tentative.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@
250250
"
251251
)
252252
"
253-
inherited
254253
"
255254
)
256255
;
@@ -263,7 +262,9 @@
263262
(
264263
)
265264
causes
266-
unset
265+
guaranteed
266+
-
267+
invalid
267268
'
268269
)
269270
;

testing/web-platform/tests/css/css-properties-values-api/unit-cycles.html

+9-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
name
115115
inherits
116116
=
117-
true
117+
false
118118
)
119119
{
120120
CSS
@@ -867,6 +867,7 @@
867867
em
868868
'
869869
'
870+
0px
870871
'
871872
)
872873
;
@@ -937,6 +938,7 @@
937938
ex
938939
'
939940
'
941+
0px
940942
'
941943
)
942944
;
@@ -1007,6 +1009,7 @@
10071009
ch
10081010
'
10091011
'
1012+
0px
10101013
'
10111014
)
10121015
;
@@ -1174,6 +1177,7 @@
11741177
rem
11751178
'
11761179
'
1180+
0px
11771181
'
11781182
root
11791183
)
@@ -1545,6 +1549,7 @@
15451549
var
15461550
'
15471551
'
1552+
0px
15481553
'
15491554
)
15501555
;
@@ -1620,6 +1625,7 @@
16201625
var
16211626
'
16221627
'
1628+
0px
16231629
'
16241630
)
16251631
;
@@ -1695,6 +1701,7 @@
16951701
var
16961702
'
16971703
'
1704+
0px
16981705
'
16991706
)
17001707
;
@@ -1778,6 +1785,7 @@
17781785
var
17791786
'
17801787
'
1788+
0px
17811789
'
17821790
root
17831791
)

testing/web-platform/tests/css/css-properties-values-api/var-reference-registered-properties-cycles.html

+27-18
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,7 @@
412412
'
413413
)
414414
'
415+
1px
415416
'
416417
)
417418
;
@@ -432,6 +433,7 @@
432433
'
433434
)
434435
'
436+
2px
435437
'
436438
)
437439
;
@@ -452,7 +454,7 @@
452454
'
453455
)
454456
'
455-
30px
457+
2px
456458
'
457459
)
458460
;
@@ -473,7 +475,7 @@
473475
'
474476
)
475477
'
476-
4px
478+
2px
477479
'
478480
)
479481
;
@@ -494,6 +496,7 @@
494496
'
495497
)
496498
'
499+
1px
497500
'
498501
)
499502
;
@@ -503,7 +506,7 @@
503506
.
504507
left
505508
'
506-
50px
509+
1px
507510
'
508511
)
509512
;
@@ -513,7 +516,7 @@
513516
.
514517
top
515518
'
516-
60px
519+
2px
517520
'
518521
)
519522
;
@@ -987,6 +990,7 @@
987990
'
988991
)
989992
'
993+
1px
990994
'
991995
)
992996
;
@@ -1027,7 +1031,7 @@
10271031
'
10281032
)
10291033
'
1030-
30px
1034+
1px
10311035
'
10321036
)
10331037
;
@@ -1048,7 +1052,7 @@
10481052
'
10491053
)
10501054
'
1051-
3px
1055+
1px
10521056
'
10531057
)
10541058
;
@@ -1111,7 +1115,7 @@
11111115
'
11121116
)
11131117
'
1114-
50px
1118+
1px
11151119
'
11161120
)
11171121
;
@@ -1132,6 +1136,7 @@
11321136
'
11331137
)
11341138
'
1139+
1px
11351140
'
11361141
)
11371142
;
@@ -1182,7 +1187,7 @@
11821187
.
11831188
left
11841189
'
1185-
70px
1190+
1px
11861191
'
11871192
)
11881193
;
@@ -2049,7 +2054,6 @@
20492054
'
20502055
)
20512056
'
2052-
circle
20532057
'
20542058
)
20552059
;
@@ -2518,7 +2522,6 @@
25182522
'
25192523
)
25202524
'
2521-
foo
25222525
'
25232526
)
25242527
;
@@ -2539,7 +2542,6 @@
25392542
'
25402543
)
25412544
'
2542-
bar
25432545
'
25442546
)
25452547
;
@@ -2560,7 +2562,6 @@
25602562
'
25612563
)
25622564
'
2563-
baz
25642565
'
25652566
)
25662567
;
@@ -2586,17 +2587,25 @@
25862587
;
25872588
}
25882589
"
2589-
Invalid
2590+
Custom
2591+
properties
2592+
with
2593+
universal
2594+
syntax
2595+
become
2596+
guaranteed
2597+
-
2598+
invalid
2599+
when
2600+
"
2601+
+
2602+
"
2603+
invalid
25902604
at
25912605
computed
25922606
-
25932607
value
25942608
time
2595-
triggers
2596-
'
2597-
unset
2598-
'
2599-
behavior
26002609
"
26012610
)
26022611
;

testing/web-platform/tests/css/css-variables/variable-substitution-variable-declaration.html

-3
Original file line numberDiff line numberDiff line change
@@ -1335,9 +1335,6 @@
13351335
expectedPropertyValue
13361336
:
13371337
"
1338-
another
1339-
good
1340-
one
13411338
"
13421339
}
13431340
]

testing/web-platform/tests/css/css-variables/variables-substitute-guaranteed-invalid.html

+9-11
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@
282282
in
283283
a
284284
cycle
285-
are
285+
become
286286
guaranteed
287287
-
288288
invalid
@@ -316,7 +316,6 @@
316316
'
317317
)
318318
'
319-
inherited
320319
'
321320
)
322321
;
@@ -328,10 +327,10 @@
328327
referencing
329328
a
330329
cycle
331-
is
332-
treated
333-
as
334-
unset
330+
becomes
331+
guaranteed
332+
-
333+
invalid
335334
'
336335
)
337336
;
@@ -362,7 +361,6 @@
362361
'
363362
)
364363
'
365-
inherited
366364
'
367365
)
368366
;
@@ -377,10 +375,10 @@
377375
-
378376
existent
379377
variable
380-
is
381-
treated
382-
as
383-
unset
378+
becomes
379+
guaranteed
380+
-
381+
invalid
384382
'
385383
)
386384
;

0 commit comments

Comments
 (0)