Skip to content

Commit 9418eea

Browse files
committed
Bug 1998921 [wpt PR 55934] - Add :hover test for SVG <use> instance, a=testonly
Automatic update from web-platform-tests Add :hover test for SVG <use> instance Bug: 40663285 Change-Id: I83c08a2918f1626ce2662644550f134b57942a0b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7130800 Reviewed-by: Fredrik Söderquist <fsopera.com> Commit-Queue: Rune Lillesveen <futharkchromium.org> Cr-Commit-Position: refs/heads/main{#1541713} -- wpt-commits: 413ee88d99bbb2c7767d3dc403b12dfd885d3a65 wpt-pr: 55934 UltraBlame original commit: b9c9850567966c3d1ebeaa8581d95a758c444698
1 parent 3a2259d commit 9418eea

File tree

1 file changed

+314
-0
lines changed

1 file changed

+314
-0
lines changed
Lines changed: 314 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,314 @@
1+
<
2+
!
3+
DOCTYPE
4+
html
5+
>
6+
<
7+
html
8+
class
9+
=
10+
"
11+
reftest
12+
-
13+
wait
14+
"
15+
>
16+
<
17+
title
18+
>
19+
SVG
20+
Test
21+
:
22+
:
23+
hover
24+
effect
25+
on
26+
&
27+
lt
28+
;
29+
use
30+
&
31+
gt
32+
;
33+
element
34+
instance
35+
<
36+
/
37+
title
38+
>
39+
<
40+
link
41+
rel
42+
=
43+
"
44+
help
45+
"
46+
href
47+
=
48+
"
49+
https
50+
:
51+
/
52+
/
53+
svgwg
54+
.
55+
org
56+
/
57+
svg2
58+
-
59+
draft
60+
/
61+
struct
62+
.
63+
html
64+
#
65+
UseStyleInheritance
66+
"
67+
>
68+
<
69+
link
70+
rel
71+
=
72+
"
73+
match
74+
"
75+
href
76+
=
77+
"
78+
/
79+
svg
80+
/
81+
linking
82+
/
83+
reftests
84+
/
85+
use
86+
-
87+
descendant
88+
-
89+
combinator
90+
-
91+
ref
92+
.
93+
html
94+
"
95+
>
96+
<
97+
script
98+
src
99+
=
100+
"
101+
/
102+
common
103+
/
104+
reftest
105+
-
106+
wait
107+
.
108+
js
109+
"
110+
>
111+
<
112+
/
113+
script
114+
>
115+
<
116+
script
117+
src
118+
=
119+
"
120+
/
121+
common
122+
/
123+
rendering
124+
-
125+
utils
126+
.
127+
js
128+
"
129+
>
130+
<
131+
/
132+
script
133+
>
134+
<
135+
script
136+
src
137+
=
138+
"
139+
/
140+
resources
141+
/
142+
testdriver
143+
.
144+
js
145+
"
146+
>
147+
<
148+
/
149+
script
150+
>
151+
<
152+
script
153+
src
154+
=
155+
"
156+
/
157+
resources
158+
/
159+
testdriver
160+
-
161+
actions
162+
.
163+
js
164+
"
165+
>
166+
<
167+
/
168+
script
169+
>
170+
<
171+
script
172+
src
173+
=
174+
"
175+
/
176+
resources
177+
/
178+
testdriver
179+
-
180+
vendor
181+
.
182+
js
183+
"
184+
>
185+
<
186+
/
187+
script
188+
>
189+
<
190+
style
191+
>
192+
rect
193+
{
194+
fill
195+
:
196+
red
197+
;
198+
width
199+
:
200+
100px
201+
;
202+
height
203+
:
204+
100px
205+
;
206+
}
207+
rect
208+
:
209+
hover
210+
{
211+
fill
212+
:
213+
green
214+
;
215+
}
216+
<
217+
/
218+
style
219+
>
220+
<
221+
p
222+
>
223+
You
224+
should
225+
see
226+
a
227+
green
228+
square
229+
and
230+
no
231+
red
232+
.
233+
<
234+
/
235+
p
236+
>
237+
<
238+
svg
239+
>
240+
<
241+
defs
242+
>
243+
<
244+
rect
245+
id
246+
=
247+
"
248+
r
249+
"
250+
>
251+
<
252+
/
253+
rect
254+
>
255+
<
256+
/
257+
defs
258+
>
259+
<
260+
use
261+
href
262+
=
263+
"
264+
#
265+
r
266+
"
267+
>
268+
<
269+
/
270+
use
271+
>
272+
<
273+
/
274+
svg
275+
>
276+
<
277+
script
278+
type
279+
=
280+
"
281+
module
282+
"
283+
>
284+
await
285+
waitForAtLeastOneFrame
286+
(
287+
)
288+
;
289+
await
290+
new
291+
test_driver
292+
.
293+
Actions
294+
(
295+
)
296+
.
297+
pointerMove
298+
(
299+
50
300+
100
301+
)
302+
.
303+
send
304+
(
305+
)
306+
;
307+
takeScreenshot
308+
(
309+
)
310+
;
311+
<
312+
/
313+
script
314+
>

0 commit comments

Comments
 (0)