You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: LayoutTests/css-custom-properties-api/inline-expected.txt
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,10 @@ PASS CSS.registerProperty
6
6
PASS Formerly valid values are still readable from inline styles but are computed as the unset value
7
7
PASS Values not matching the registered type can't be set
8
8
PASS Values can be removed from inline styles
9
-
PASS Stylesheets can be modified by CSSOM
10
-
PASS Valid values can be set on inline styles
11
-
PASS Var values are accepted
12
-
PASS Var values are accepted without validation
13
-
PASS Var values are accepted without validation, even when it is obvious they will not parse
14
-
PASS Var values are accepted without validation, even when it is obvious they will not parse (typed)
9
+
FAIL Stylesheets can be modified by CSSOM assert_equals: expected "0px" but got "20px"
10
+
FAIL Valid values can be set on inline styles assert_equals: expected "inherit" but got "30em"
11
+
FAIL Var values are accepted assert_equals: expected "calc(var(--b) + 10px)" but got "30em"
12
+
FAIL Var values are accepted without validation assert_equals: expected "calc(var(--b) + 15px)" but got "30em"
13
+
FAIL Var values are accepted without validation, even when it is obvious they will not parse assert_equals: expected "calc(var(--b) 15px)" but got "30em"
14
+
FAIL Var values are accepted without validation, even when it is obvious they will not parse (typed) assert_equals: expected "calc(var(--registered) 15px)" but got "30em"
Copy file name to clipboardExpand all lines: LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/register-property-syntax-parsing-expected.txt
+41-41Lines changed: 41 additions & 41 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
2
2
PASS syntax:'*', initialValue:'a' is valid
3
-
FAIL syntax:' * ', initialValue:'b' is valid The given initial value does not parse for the given syntax.
3
+
PASS syntax:' * ', initialValue:'b' is valid
4
4
PASS syntax:'<length>', initialValue:'2px' is valid
5
5
FAIL syntax:' <number>', initialValue:'5' is valid The given initial value does not parse for the given syntax.
6
6
FAIL syntax:'<percentage> ', initialValue:'10%' is valid The given initial value does not parse for the given syntax.
@@ -9,9 +9,9 @@ FAIL syntax:' <length>+ | <percentage>', initialValue:'2px 8px' is valid The giv
9
9
FAIL syntax:' <length>+ | <color>#', initialValue:'red, blue' is valid The given initial value does not parse for the given syntax.
10
10
PASS syntax:'<length>|<percentage>|<length-percentage>', initialValue:'2px' is valid
11
11
FAIL syntax:'<color> | <image> | <url> | <integer> | <angle>', initialValue:'red' is valid The given initial value does not parse for the given syntax.
12
-
FAIL syntax:'<time> | <resolution> | <transform-list> | <custom-ident>', initialValue:'red' is valid The given initial value does not parse for the given syntax.
13
-
FAIL syntax:' <color>
14
-
| foo', initialValue:'foo' is valid The given initial value does not parse for the given syntax.
FAIL syntax:'<length>+', initialValue:'2px 7px calc(8px)' is valid The given initial value does not parse for the given syntax.
27
27
FAIL syntax:'<length>#', initialValue:'2px, 7px, calc(8px)' is valid The given initial value does not parse for the given syntax.
28
28
FAIL syntax:'<percentage>', initialValue:'-9.3e3%' is valid The given initial value does not parse for the given syntax.
29
-
FAIL syntax:'<length-percentage>', initialValue:'-54%' is valid The given initial value does not parse for the given syntax.
29
+
PASS syntax:'<length-percentage>', initialValue:'-54%' is valid
30
30
PASS syntax:'<length-percentage>', initialValue:'0' is valid
31
-
FAIL syntax:'<length-percentage>', initialValue:'calc(-11px + 10.4%)' is valid The given initial value does not parse for the given syntax.
31
+
PASS syntax:'<length-percentage>', initialValue:'calc(-11px + 10.4%)' is valid
32
32
PASS syntax:'<length>', initialValue:'10vmin' is valid
33
33
FAIL syntax:'<percentage> | <length>+', initialValue:'calc(100vh - 10px) 30px' is valid The given initial value does not parse for the given syntax.
34
34
FAIL syntax:'<number>', initialValue:'-109' is valid The given initial value does not parse for the given syntax.
@@ -58,44 +58,44 @@ FAIL syntax:'<color>', initialValue:'lightgoldenrodyellow' is valid The given in
58
58
FAIL syntax:'<image>', initialValue:'url(a)' is valid The given initial value does not parse for the given syntax.
59
59
FAIL syntax:'<image>', initialValue:'linear-gradient(yellow, blue)' is valid The given initial value does not parse for the given syntax.
60
60
FAIL syntax:'<url>', initialValue:'url(a)' is valid The given initial value does not parse for the given syntax.
61
-
FAIL syntax:'banana', initialValue:'banana' is valid The given initial value does not parse for the given syntax.
62
-
FAIL syntax:'bAnAnA', initialValue:'bAnAnA' is valid The given initial value does not parse for the given syntax.
63
-
FAIL syntax:'ba-na-nya', initialValue:'ba-na-nya' is valid The given initial value does not parse for the given syntax.
64
-
FAIL syntax:'banana', initialValue:'banan\61' is valid The given initial value does not parse for the given syntax.
65
-
FAIL syntax:'banan\61', initialValue:'banana' is valid The given initial value does not parse for the given syntax.
66
-
FAIL syntax:'<custom-ident>', initialValue:'banan\61' is valid The given initial value does not parse for the given syntax.
67
-
FAIL syntax:'big | bigger | BIGGER', initialValue:'bigger' is valid The given initial value does not parse for the given syntax.
61
+
PASS syntax:'banana', initialValue:'banana' is valid
62
+
PASS syntax:'bAnAnA', initialValue:'bAnAnA' is valid
63
+
PASS syntax:'ba-na-nya', initialValue:'ba-na-nya' is valid
64
+
PASS syntax:'banana', initialValue:'banan\61' is valid
65
+
PASS syntax:'banan\61', initialValue:'banana' is valid
66
+
PASS syntax:'<custom-ident>', initialValue:'banan\61' is valid
67
+
PASS syntax:'big | bigger | BIGGER', initialValue:'bigger' is valid
68
68
FAIL syntax:'foo+|bar', initialValue:'foo foo foo' is valid The given initial value does not parse for the given syntax.
69
-
FAIL syntax:'banana ', initialValue:'banana' is valid The given initial value does not parse for the given syntax.
70
-
FAIL syntax:'
69
+
PASS syntax:'banana ', initialValue:'banana' is valid
70
+
PASS syntax:'
71
71
banana\r
72
-
', initialValue:'banana' is valid The given initial value does not parse for the given syntax.
73
-
FAIL syntax:'ba
74
-
| na\r|nya', initialValue:'nya' is valid The given initial value does not parse for the given syntax.
75
-
FAIL syntax:'null', initialValue:'null' is valid The given initial value does not parse for the given syntax.
72
+
', initialValue:'banana' is valid
73
+
PASS syntax:'ba
74
+
| na\r|nya', initialValue:'nya' is valid
75
+
PASS syntax:'null', initialValue:'null' is valid
76
76
PASS syntax:'undefined', initialValue:'undefined' is valid
77
-
FAIL syntax:'array', initialValue:'array' is valid The given initial value does not parse for the given syntax.
78
-
FAIL syntax:'\1F914', initialValue:'🤔' is valid The given initial value does not parse for the given syntax.
79
-
FAIL syntax:'hmm\1F914', initialValue:'hmm🤔' is valid The given initial value does not parse for the given syntax.
80
-
FAIL syntax:'\1F914hmm', initialValue:'🤔hmm' is valid The given initial value does not parse for the given syntax.
81
-
FAIL syntax:'\1F914 hmm', initialValue:'🤔hmm' is valid The given initial value does not parse for the given syntax.
82
-
FAIL syntax:'\1F914\1F914', initialValue:'🤔🤔' is valid The given initial value does not parse for the given syntax.
77
+
PASS syntax:'array', initialValue:'array' is valid
78
+
PASS syntax:'\1F914', initialValue:'🤔' is valid
79
+
PASS syntax:'hmm\1F914', initialValue:'hmm🤔' is valid
80
+
PASS syntax:'\1F914hmm', initialValue:'🤔hmm' is valid
81
+
PASS syntax:'\1F914 hmm', initialValue:'🤔hmm' is valid
82
+
PASS syntax:'\1F914\1F914', initialValue:'🤔🤔' is valid
83
83
PASS syntax:'banana,nya', initialValue:'banana' is invalid
84
-
FAIL syntax:'<\6c ength>', initialValue:'10px' is invalid assert_throws_dom: function "() => CSS.registerProperty({name: name, syntax: syntax, initialValue: initialValue, inherits: false})" did not throw
84
+
PASS syntax:'<\6c ength>', initialValue:'10px' is invalid
85
85
PASS syntax:'<banana>', initialValue:'banana' is invalid
86
86
PASS syntax:'<Number>', initialValue:'10' is invalid
87
-
FAIL syntax:'<length', initialValue:'10px' is invalid assert_throws_dom: function "() => CSS.registerProperty({name: name, syntax: syntax, initialValue: initialValue, inherits: false})" did not throw
88
-
FAIL syntax:'<LENGTH>', initialValue:'10px' is invalid assert_throws_dom: function "() => CSS.registerProperty({name: name, syntax: syntax, initialValue: initialValue, inherits: false})" did not throw
89
-
FAIL syntax:'< length>', initialValue:'10px' is invalid assert_throws_dom: function "() => CSS.registerProperty({name: name, syntax: syntax, initialValue: initialValue, inherits: false})" did not throw
90
-
FAIL syntax:'<length >', initialValue:'10px' is invalid assert_throws_dom: function "() => CSS.registerProperty({name: name, syntax: syntax, initialValue: initialValue, inherits: false})" did not throw
91
-
FAIL syntax:'<length> +', initialValue:'10px' is invalid assert_throws_dom: function "() => CSS.registerProperty({name: name, syntax: syntax, initialValue: initialValue, inherits: false})" did not throw
87
+
PASS syntax:'<length', initialValue:'10px' is invalid
88
+
PASS syntax:'<LENGTH>', initialValue:'10px' is invalid
89
+
PASS syntax:'< length>', initialValue:'10px' is invalid
90
+
PASS syntax:'<length >', initialValue:'10px' is invalid
91
+
PASS syntax:'<length> +', initialValue:'10px' is invalid
92
92
PASS syntax:'<transform-list>+', initialValue:'scale(2)' is invalid
93
93
PASS syntax:'<transform-list>#', initialValue:'scale(2)' is invalid
94
-
FAIL syntax:'<length>++', initialValue:'10px' is invalid assert_throws_dom: function "() => CSS.registerProperty({name: name, syntax: syntax, initialValue: initialValue, inherits: false})" did not throw
95
-
FAIL syntax:'<length>##', initialValue:'10px' is invalid assert_throws_dom: function "() => CSS.registerProperty({name: name, syntax: syntax, initialValue: initialValue, inherits: false})" did not throw
96
-
FAIL syntax:'<length>+#', initialValue:'10px' is invalid assert_throws_dom: function "() => CSS.registerProperty({name: name, syntax: syntax, initialValue: initialValue, inherits: false})" did not throw
97
-
FAIL syntax:'<length>#+', initialValue:'10px' is invalid assert_throws_dom: function "() => CSS.registerProperty({name: name, syntax: syntax, initialValue: initialValue, inherits: false})" did not throw
98
-
FAIL syntax:'<length> | *', initialValue:'10px' is invalid assert_throws_dom: function "() => CSS.registerProperty({name: name, syntax: syntax, initialValue: initialValue, inherits: false})" did not throw
94
+
PASS syntax:'<length>++', initialValue:'10px' is invalid
95
+
PASS syntax:'<length>##', initialValue:'10px' is invalid
96
+
PASS syntax:'<length>+#', initialValue:'10px' is invalid
97
+
PASS syntax:'<length>#+', initialValue:'10px' is invalid
98
+
PASS syntax:'<length> | *', initialValue:'10px' is invalid
99
99
PASS syntax:'*|banana', initialValue:'banana' is invalid
100
100
PASS syntax:'|banana', initialValue:'banana' is invalid
101
101
PASS syntax:'*+', initialValue:'banana' is invalid
@@ -114,8 +114,8 @@ PASS syntax:'unset', initialValue:'unset' is invalid
114
114
PASS syntax:'revert', initialValue:'revert' is invalid
115
115
PASS syntax:'revert-layer', initialValue:'revert-layer' is invalid
116
116
PASS syntax:'default', initialValue:'default' is invalid
117
-
FAIL syntax:'<length>|initial', initialValue:'10px' is invalid assert_throws_dom: function "() => CSS.registerProperty({name: name, syntax: syntax, initialValue: initialValue, inherits: false})" did not throw
118
-
FAIL syntax:'<length>|INHERIT', initialValue:'10px' is invalid assert_throws_dom: function "() => CSS.registerProperty({name: name, syntax: syntax, initialValue: initialValue, inherits: false})" did not throw
117
+
PASS syntax:'<length>|initial', initialValue:'10px' is invalid
118
+
PASS syntax:'<length>|INHERIT', initialValue:'10px' is invalid
119
119
PASS syntax:'<percentage>|unsEt', initialValue:'2%' is invalid
120
120
PASS syntax:'<color>|REVert', initialValue:'red' is invalid
121
121
PASS syntax:'<integer>|deFAUlt', initialValue:'1' is invalid
@@ -161,15 +161,15 @@ FAIL syntax:'<length>+', initialValue:'' is invalid assert_throws_dom: function
161
161
FAIL syntax:'<length>#', initialValue:'' is invalid assert_throws_dom: function "() => CSS.registerProperty({name: name, syntax: syntax, initialValue: initialValue, inherits: false})" did not throw
162
162
PASS syntax:'<length>', initialValue:'10px;' is invalid
163
163
PASS syntax:'<length-percentage>', initialValue:'calc(2px + 10% + 7ex)' is invalid
164
-
FAIL syntax:'<percentage>', initialValue:'0' is invalid assert_throws_dom: function "() => CSS.registerProperty({name: name, syntax: syntax, initialValue: initialValue, inherits: false})" did not throw
164
+
PASS syntax:'<percentage>', initialValue:'0' is invalid
165
165
PASS syntax:'<integer>', initialValue:'1.0' is invalid
166
166
PASS syntax:'<integer>', initialValue:'1e0' is invalid
167
167
PASS syntax:'<number>|foo', initialValue:'foo var(--foo, bla)' is invalid
168
168
PASS syntax:'Foo | bar', initialValue:'foo' is invalid
169
169
PASS syntax:'Foo | bar', initialValue:'Bar' is invalid
170
-
FAIL syntax:'<angle>', initialValue:'0' is invalid assert_throws_dom: function "() => CSS.registerProperty({name: name, syntax: syntax, initialValue: initialValue, inherits: false})" did not throw
170
+
PASS syntax:'<angle>', initialValue:'0' is invalid
171
171
PASS syntax:'<angle>', initialValue:'10%' is invalid
172
-
FAIL syntax:'<time>', initialValue:'2px' is invalid assert_throws_dom: function "() => CSS.registerProperty({name: name, syntax: syntax, initialValue: initialValue, inherits: false})" did not throw
172
+
PASS syntax:'<time>', initialValue:'2px' is invalid
173
173
PASS syntax:'<resolution>', initialValue:'10' is invalid
174
174
PASS syntax:'<transform-function>', initialValue:'scale()' is invalid
175
175
PASS syntax:'<transform-list>', initialValue:'scale()' is invalid
Copy file name to clipboardExpand all lines: LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/registered-property-computation-expected.txt
0 commit comments