Skip to content

Commit acf3042

Browse files
LoirooriolTG199
authored andcommitted
Enable layout_container_queries_enabled on all WPT tests (servo#36348)
This feature is part of --enable-experimental-web-platform-features, so it should be enabled on all tests. It's not really implemented beyond parsing, but it should be safe to enable. It mostly changes test results from ERROR to FAIL. This is part of servo#36315 Signed-off-by: Oriol Brufau <[email protected]>
1 parent cbf6df0 commit acf3042

File tree

109 files changed

+1495
-151
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+1495
-151
lines changed

tests/wpt/meta/__dir__.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ prefs: [
1111
"dom_trusted_types_enabled:true",
1212
"dom_urlpattern_enabled:true",
1313
"dom_xpath_enabled:true",
14+
"layout_container_queries_enabled:true",
1415
"layout_grid_enabled:true",
1516
]
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[animation-container-size.html]
2-
expected: ERROR
2+
[Animation affects container query evaluation]
3+
expected: FAIL
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[animation-container-type-dynamic.html]
2-
expected: ERROR
2+
[Animated container creating new container]
3+
expected: FAIL
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[animation-nested-animation.html]
2-
expected: ERROR
2+
[Animated container can create inner animation]
3+
expected: FAIL
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[animation-nested-transition.html]
2-
expected: ERROR
2+
[Animated container size triggers transition]
3+
expected: FAIL
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
[aspect-ratio-feature-evaluation.html]
2-
expected: ERROR
2+
[@container queries with aspect-ratio and size containment]
3+
expected: FAIL
4+
5+
[@container query with aspect-ratio change after resize]
6+
expected: FAIL
Lines changed: 254 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,255 @@
11
[at-container-parsing.html]
2-
expected: ERROR
2+
[Query condition should be valid: (width)]
3+
expected: FAIL
4+
5+
[Query condition should be valid: (min-width: 0px)]
6+
expected: FAIL
7+
8+
[Query condition should be valid: (max-width: 0px)]
9+
expected: FAIL
10+
11+
[Query condition should be valid: (height)]
12+
expected: FAIL
13+
14+
[Query condition should be valid: (min-height: 0px)]
15+
expected: FAIL
16+
17+
[Query condition should be valid: (max-height: 0px)]
18+
expected: FAIL
19+
20+
[Query condition should be valid: (aspect-ratio)]
21+
expected: FAIL
22+
23+
[Query condition should be valid: (min-aspect-ratio: 1/2)]
24+
expected: FAIL
25+
26+
[Query condition should be valid: (max-aspect-ratio: 1/2)]
27+
expected: FAIL
28+
29+
[Query condition should be valid: (orientation: portrait)]
30+
expected: FAIL
31+
32+
[Query condition should be valid: (inline-size)]
33+
expected: FAIL
34+
35+
[Query condition should be valid: (min-inline-size: 0px)]
36+
expected: FAIL
37+
38+
[Query condition should be valid: (max-inline-size: 0px)]
39+
expected: FAIL
40+
41+
[Query condition should be valid: (block-size)]
42+
expected: FAIL
43+
44+
[Query condition should be valid: (min-block-size: 0px)]
45+
expected: FAIL
46+
47+
[Query condition should be valid: (max-block-size: 0px)]
48+
expected: FAIL
49+
50+
[Query condition should be valid: (width: 100px)]
51+
expected: FAIL
52+
53+
[Query condition should be valid: ((width: 100px))]
54+
expected: FAIL
55+
56+
[Query condition should be valid: (not (width: 100px))]
57+
expected: FAIL
58+
59+
[Query condition should be valid: ((width: 100px) and (height: 100px))]
60+
expected: FAIL
61+
62+
[Query condition should be valid: (((width: 40px) or (width: 50px)) and (height: 100px))]
63+
expected: FAIL
64+
65+
[Query condition should be valid: ((width: 100px) and ((height: 40px) or (height: 50px)))]
66+
expected: FAIL
67+
68+
[Query condition should be valid: (((width: 40px) and (height: 50px)) or (height: 100px))]
69+
expected: FAIL
70+
71+
[Query condition should be valid: ((width: 50px) or ((width: 40px) and (height: 50px)))]
72+
expected: FAIL
73+
74+
[Query condition should be valid: ((width: 100px) and (not (height: 100px)))]
75+
expected: FAIL
76+
77+
[Query condition should be valid: (width < 100px)]
78+
expected: FAIL
79+
80+
[Query condition should be valid: (width <= 100px)]
81+
expected: FAIL
82+
83+
[Query condition should be valid: (width = 100px)]
84+
expected: FAIL
85+
86+
[Query condition should be valid: (width > 100px)]
87+
expected: FAIL
88+
89+
[Query condition should be valid: (width >= 100px)]
90+
expected: FAIL
91+
92+
[Query condition should be valid: (100px < width)]
93+
expected: FAIL
94+
95+
[Query condition should be valid: (100px <= width)]
96+
expected: FAIL
97+
98+
[Query condition should be valid: (100px = width)]
99+
expected: FAIL
100+
101+
[Query condition should be valid: (100px > width)]
102+
expected: FAIL
103+
104+
[Query condition should be valid: (100px >= width)]
105+
expected: FAIL
106+
107+
[Query condition should be valid: (100px < width < 200px)]
108+
expected: FAIL
109+
110+
[Query condition should be valid: (100px < width <= 200px)]
111+
expected: FAIL
112+
113+
[Query condition should be valid: (100px <= width < 200px)]
114+
expected: FAIL
115+
116+
[Query condition should be valid: (100px > width > 200px)]
117+
expected: FAIL
118+
119+
[Query condition should be valid: (100px > width >= 200px)]
120+
expected: FAIL
121+
122+
[Query condition should be valid: (100px >= width > 200px)]
123+
expected: FAIL
124+
125+
[Query condition should be valid: (width: calc(10px))]
126+
expected: FAIL
127+
128+
[Query condition should be valid: (width: calc(10em))]
129+
expected: FAIL
130+
131+
[Query condition should be valid: (width: calc(10px + 10em))]
132+
expected: FAIL
133+
134+
[Query condition should be valid: (width < calc(10px + 10em))]
135+
expected: FAIL
136+
137+
[Query condition should be valid: (width < max(10px, 10em))]
138+
expected: FAIL
139+
140+
[Query condition should be valid: (calc(10px + 10em) < width)]
141+
expected: FAIL
142+
143+
[Query condition should be valid: (calc(10px + 10em) < width < max(30px, 30em))]
144+
expected: FAIL
145+
146+
[Query condition should be valid: (width: 100px) and (height: 100px)]
147+
expected: FAIL
148+
149+
[Query condition should be valid: (width: 100px) or (height: 100px)]
150+
expected: FAIL
151+
152+
[Query condition should be valid: not (width: 100px)]
153+
expected: FAIL
154+
155+
[Query condition should be valid but unknown: foo(width)]
156+
expected: FAIL
157+
158+
[Query condition should be valid but unknown: size(width)]
159+
expected: FAIL
160+
161+
[Query condition should be valid but unknown: (asdf)]
162+
expected: FAIL
163+
164+
[Query condition should be valid but unknown: (resolution > 100dpi)]
165+
expected: FAIL
166+
167+
[Query condition should be valid but unknown: (resolution: 150dpi)]
168+
expected: FAIL
169+
170+
[Query condition should be valid but unknown: (resolution: calc(2x))]
171+
expected: FAIL
172+
173+
[Query condition should be valid but unknown: (color)]
174+
expected: FAIL
175+
176+
[Query condition should be valid but unknown: (min-color: 1)]
177+
expected: FAIL
178+
179+
[Query condition should be valid but unknown: (color-index >= 1)]
180+
expected: FAIL
181+
182+
[Query condition should be valid but unknown: size(grid)]
183+
expected: FAIL
184+
185+
[Query condition should be valid but unknown: (grid)]
186+
expected: FAIL
187+
188+
[Query condition should be valid but unknown: (width == 100px)]
189+
expected: FAIL
190+
191+
[Query condition should be valid but unknown: (100px == width)]
192+
expected: FAIL
193+
194+
[Query condition should be valid but unknown: (100px = width = 200px)]
195+
expected: FAIL
196+
197+
[Query condition should be valid but unknown: (100px < width > 200px)]
198+
expected: FAIL
199+
200+
[Query condition should be valid but unknown: (100px <= width >= 200px)]
201+
expected: FAIL
202+
203+
[Query condition should be valid but unknown: (100px <= width > 200px)]
204+
expected: FAIL
205+
206+
[Query condition should be valid but unknown: (100px < width >= 200px)]
207+
expected: FAIL
208+
209+
[Query condition should be valid but unknown: (100px : width : 200px)]
210+
expected: FAIL
211+
212+
[@container rule should be valid: @container name not (width <= 500px) {} {}]
213+
expected: FAIL
214+
215+
[@container rule should be valid: @container not (width <= 500px) {} {}]
216+
expected: FAIL
217+
218+
[@container rule should be valid: @container (width: 100px), (height: 100px) {} {}]
219+
expected: FAIL
220+
221+
[@container rule should be valid: @container (width),(height) , (inline-size > 20px) {} {}]
222+
expected: FAIL
223+
224+
[@container rule should be valid: @container (width), name (height) {} {}]
225+
expected: FAIL
226+
227+
[@container rule should be valid: @container --foo {} {}]
228+
expected: FAIL
229+
230+
[@container rule should be valid: @container container {} {}]
231+
expected: FAIL
232+
233+
[@container rule should be valid: @container container, container2 {} {}]
234+
expected: FAIL
235+
236+
[Container name: foo]
237+
expected: FAIL
238+
239+
[Container name: foo]
240+
expected: FAIL
241+
242+
[Container name: foo ]
243+
expected: FAIL
244+
245+
[Container name: normal]
246+
expected: FAIL
247+
248+
[Container name: Normal]
249+
expected: FAIL
250+
251+
[Container name: auto]
252+
expected: FAIL
253+
254+
[Container name: Auto]
255+
expected: FAIL
Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,51 @@
11
[at-container-serialization.html]
2-
expected: ERROR
2+
[Serialization of conditionText]
3+
expected: FAIL
4+
5+
[Serialization of inner @container rule]
6+
expected: FAIL
7+
8+
[Serialization of nested @container rule]
9+
expected: FAIL
10+
11+
[@container conditionText serialization: ( wiDTh )]
12+
expected: FAIL
13+
14+
[@container conditionText serialization: (width:100px)]
15+
expected: FAIL
16+
17+
[@container conditionText serialization: (min-width: 100px)]
18+
expected: FAIL
19+
20+
[@container conditionText serialization: ( MAX-WIDTH:100px )]
21+
expected: FAIL
22+
23+
[@container conditionText serialization: (width > 100px)]
24+
expected: FAIL
25+
26+
[@container conditionText serialization: (width < 100px)]
27+
expected: FAIL
28+
29+
[@container conditionText serialization: (widTH >= 100px)]
30+
expected: FAIL
31+
32+
[@container conditionText serialization: (width <= 100px)]
33+
expected: FAIL
34+
35+
[@container conditionText serialization: (10px < width < 100px)]
36+
expected: FAIL
37+
38+
[@container conditionText serialization: (10px <= width <= 100px)]
39+
expected: FAIL
40+
41+
[@container conditionText serialization: (100px>WIDTH>10px)]
42+
expected: FAIL
43+
44+
[@container conditionText serialization: ( 100px >= width >= 10px )]
45+
expected: FAIL
46+
47+
[@container conditionText serialization: (calc(1em + 1px) >= width >= max(10em, 10px))]
48+
expected: FAIL
49+
50+
[@container conditionText serialization: (width),(height) ,--foo ,--bar]
51+
expected: FAIL

tests/wpt/meta/css/css-conditional/container-queries/auto-scrollbars.html.ini

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[backdrop-invalidation.html]
2-
expected: ERROR
2+
[Pseudo-element ::backdrop responds to container size changes]
3+
expected: FAIL

0 commit comments

Comments
 (0)