Skip to content

Commit 6811dfd

Browse files
committed
Bug 1950035 [wpt PR 50897] - Support for the isolation CSS property, a=testonly
Automatic update from web-platform-tests Add behavior test Signed-off-by: Oriol Brufau <obrufauigalia.com> -- wpt-commits: 72098edd0ca9e29d82206812df6ad96f1de76638 wpt-pr: 50897 UltraBlame original commit: b0b7f8990ba49874bf914f83eaed846394400ead
1 parent 4dc68eb commit 6811dfd

File tree

1 file changed

+247
-0
lines changed

1 file changed

+247
-0
lines changed
Lines changed: 247 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,247 @@
1+
<
2+
!
3+
DOCTYPE
4+
html
5+
>
6+
<
7+
meta
8+
charset
9+
=
10+
"
11+
utf
12+
-
13+
8
14+
"
15+
>
16+
<
17+
title
18+
>
19+
CSS
20+
Compositing
21+
and
22+
Blending
23+
:
24+
The
25+
isolation
26+
property
27+
<
28+
/
29+
title
30+
>
31+
<
32+
link
33+
rel
34+
=
35+
"
36+
author
37+
"
38+
title
39+
=
40+
"
41+
Oriol
42+
Brufau
43+
"
44+
href
45+
=
46+
"
47+
mailto
48+
:
49+
obrufau
50+
igalia
51+
.
52+
com
53+
"
54+
>
55+
<
56+
link
57+
rel
58+
=
59+
"
60+
help
61+
"
62+
href
63+
=
64+
"
65+
https
66+
:
67+
/
68+
/
69+
www
70+
.
71+
w3
72+
.
73+
org
74+
/
75+
TR
76+
/
77+
compositing
78+
-
79+
1
80+
/
81+
#
82+
isolation
83+
"
84+
>
85+
<
86+
link
87+
rel
88+
=
89+
"
90+
match
91+
"
92+
href
93+
=
94+
"
95+
.
96+
.
97+
/
98+
.
99+
.
100+
/
101+
reference
102+
/
103+
ref
104+
-
105+
filled
106+
-
107+
green
108+
-
109+
100px
110+
-
111+
square
112+
.
113+
xht
114+
"
115+
>
116+
<
117+
meta
118+
name
119+
=
120+
"
121+
assert
122+
"
123+
content
124+
=
125+
"
126+
For
127+
CSS
128+
setting
129+
isolation
130+
to
131+
isolate
132+
will
133+
turn
134+
the
135+
element
136+
into
137+
a
138+
stacking
139+
context
140+
.
141+
"
142+
>
143+
<
144+
style
145+
>
146+
#
147+
parent
148+
{
149+
width
150+
:
151+
100px
152+
;
153+
height
154+
:
155+
100px
156+
;
157+
isolation
158+
:
159+
isolate
160+
;
161+
background
162+
:
163+
red
164+
;
165+
}
166+
#
167+
child
168+
{
169+
width
170+
:
171+
100px
172+
;
173+
height
174+
:
175+
100px
176+
;
177+
position
178+
:
179+
relative
180+
;
181+
z
182+
-
183+
index
184+
:
185+
-
186+
1
187+
;
188+
background
189+
:
190+
green
191+
;
192+
}
193+
<
194+
/
195+
style
196+
>
197+
<
198+
p
199+
>
200+
Test
201+
passes
202+
if
203+
there
204+
is
205+
a
206+
filled
207+
green
208+
square
209+
and
210+
<
211+
strong
212+
>
213+
no
214+
red
215+
<
216+
/
217+
strong
218+
>
219+
.
220+
<
221+
/
222+
p
223+
>
224+
<
225+
div
226+
id
227+
=
228+
"
229+
parent
230+
"
231+
>
232+
<
233+
div
234+
id
235+
=
236+
"
237+
child
238+
"
239+
>
240+
<
241+
/
242+
div
243+
>
244+
<
245+
/
246+
div
247+
>

0 commit comments

Comments
 (0)