[EFL][WK2] Refactor Ewk_Favicon code and stop relying on internal C++ API
[WebKit-https.git] / LayoutTests / fast / dom / shadow / shadow-dom-event-dispatching-expected.txt
1 Tests to ensure that event dispatching behaves as the Shadow DOM spec describes.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6
7
8 Composed Shadow Tree will be:
9 DIV      id=sandbox
10         DIV      id=top
11                 DIV      id=shadow-host
12                         DIV      id=distributed-light-child
13                         DIV      id=shadow-root-child
14
15
16 Moving mouse from shadow-host to shadow-host/shadow-root-child
17
18   mouseout
19
20   mouseover
21      @shadow-root-child (target: shadow-root-child) (related: shadow-host)
22      @shadow-root (target: shadow-root-child) (related: shadow-host)
23
24 Moving mouse from shadow-host/shadow-root-child to shadow-host
25
26   mouseout
27      @shadow-root-child (target: shadow-root-child) (related: shadow-host)
28      @shadow-root (target: shadow-root-child) (related: shadow-host)
29
30   mouseover
31
32 Moving mouse from shadow-host to distributed-light-child
33
34   mouseout
35      @shadow-host (target: shadow-host) (related: distributed-light-child)
36      @top (target: shadow-host) (related: distributed-light-child)
37
38   mouseover
39      @distributed-light-child (target: distributed-light-child) (related: shadow-host)
40      @content (target: distributed-light-child) (related: shadow-host)
41      @shadow-root (target: distributed-light-child) (related: shadow-host)
42      @shadow-host (target: distributed-light-child) (related: shadow-host)
43      @top (target: distributed-light-child) (related: shadow-host)
44
45 Moving mouse from distributed-light-child to shadow-host
46
47   mouseout
48      @distributed-light-child (target: distributed-light-child) (related: shadow-host)
49      @content (target: distributed-light-child) (related: shadow-host)
50      @shadow-root (target: distributed-light-child) (related: shadow-host)
51      @shadow-host (target: distributed-light-child) (related: shadow-host)
52      @top (target: distributed-light-child) (related: shadow-host)
53
54   mouseover
55      @shadow-host (target: shadow-host) (related: distributed-light-child)
56      @top (target: shadow-host) (related: distributed-light-child)
57
58 Moving mouse from shadow-host/shadow-root-child to distributed-light-child
59
60   mouseout
61      @shadow-root-child (target: shadow-root-child) (related: distributed-light-child)
62      @shadow-root (target: shadow-root-child) (related: distributed-light-child)
63      @shadow-host (target: shadow-host) (related: distributed-light-child)
64      @top (target: shadow-host) (related: distributed-light-child)
65
66   mouseover
67      @distributed-light-child (target: distributed-light-child) (related: shadow-host)
68      @content (target: distributed-light-child) (related: shadow-root-child)
69      @shadow-root (target: distributed-light-child) (related: shadow-root-child)
70      @shadow-host (target: distributed-light-child) (related: shadow-host)
71      @top (target: distributed-light-child) (related: shadow-host)
72
73 Moving mouse from distributed-light-child to shadow-host/shadow-root-child
74
75   mouseout
76      @distributed-light-child (target: distributed-light-child) (related: shadow-host)
77      @content (target: distributed-light-child) (related: shadow-root-child)
78      @shadow-root (target: distributed-light-child) (related: shadow-root-child)
79      @shadow-host (target: distributed-light-child) (related: shadow-host)
80      @top (target: distributed-light-child) (related: shadow-host)
81
82   mouseover
83      @shadow-root-child (target: shadow-root-child) (related: distributed-light-child)
84      @shadow-root (target: shadow-root-child) (related: distributed-light-child)
85      @shadow-host (target: shadow-host) (related: distributed-light-child)
86      @top (target: shadow-host) (related: distributed-light-child)
87
88
89 Composed Shadow Tree will be:
90 DIV      id=sandbox
91         DIV      id=top
92                 DETAILS  id=details
93                         SUMMARY  id=summary
94                                 DIV     
95
96
97 Moving mouse from details to summary
98
99   mouseout
100      @details (target: details) (related: summary)
101      @top (target: details) (related: summary)
102
103   mouseover
104      @summary (target: summary) (related: details)
105      @details (target: summary) (related: details)
106      @top (target: summary) (related: details)
107
108 Moving mouse from summary to details
109
110   mouseout
111      @summary (target: summary) (related: details)
112      @details (target: summary) (related: details)
113      @top (target: summary) (related: details)
114
115   mouseover
116      @details (target: details) (related: summary)
117      @top (target: details) (related: summary)
118
119
120 Composed Shadow Tree will be:
121 DIV      id=sandbox
122         DIV      id=top
123                 DIV      id=A
124                         DIV      id=B
125                                 DIV      id=G
126                                         DIV      id=J
127                                                 DIV      id=C
128                                                         DIV      id=D
129                                         DIV      id=L
130                                                 DIV      id=E
131                                                         DIV      id=F
132
133
134 Moving mouse from F to D
135
136   mouseout
137      @F (target: F) (related: D)
138      @E (target: F) (related: D)
139      @I (target: F) (related: D)
140      @M (target: F) (related: D)
141      @O (target: F) (related: D)
142      @shadow-root-L (target: F) (related: D)
143      @L (target: F) (related: D)
144      @shadow-root-G (target: F) (related: D)
145      @G (target: F) (related: D)
146      @shadow-root-B (target: F) (related: D)
147      @B (target: F) (related: D)
148      @A (target: F) (related: D)
149      @top (target: F) (related: D)
150
151   mouseover
152      @D (target: D) (related: F)
153      @C (target: D) (related: F)
154      @H (target: D) (related: F)
155      @K (target: D) (related: F)
156      @N (target: D) (related: F)
157      @shadow-root-J (target: D) (related: F)
158      @J (target: D) (related: F)
159      @shadow-root-G (target: D) (related: F)
160      @G (target: D) (related: F)
161      @shadow-root-B (target: D) (related: F)
162      @B (target: D) (related: F)
163      @A (target: D) (related: F)
164      @top (target: D) (related: F)
165
166 Moving mouse from B/G/L to D
167
168   mouseout
169      @L (target: L) (related: D)
170      @shadow-root-G (target: L) (related: D)
171      @G (target: G) (related: D)
172      @shadow-root-B (target: G) (related: D)
173      @B (target: B) (related: D)
174      @A (target: B) (related: D)
175      @top (target: B) (related: D)
176
177   mouseover
178      @D (target: D) (related: B)
179      @C (target: D) (related: B)
180      @H (target: D) (related: G)
181      @K (target: D) (related: L)
182      @N (target: D) (related: L)
183      @shadow-root-J (target: D) (related: L)
184      @J (target: D) (related: L)
185      @shadow-root-G (target: D) (related: L)
186      @G (target: D) (related: G)
187      @shadow-root-B (target: D) (related: G)
188      @B (target: D) (related: B)
189      @A (target: D) (related: B)
190      @top (target: D) (related: B)
191
192 Moving mouse from B/G/L to B/G/J
193
194   mouseout
195      @L (target: L) (related: J)
196      @shadow-root-G (target: L) (related: J)
197
198   mouseover
199      @J (target: J) (related: L)
200      @shadow-root-G (target: J) (related: L)
201
202 Moving mouse from A to D
203
204   mouseout
205      @A (target: A) (related: D)
206      @top (target: A) (related: D)
207
208   mouseover
209      @D (target: D) (related: A)
210      @C (target: D) (related: A)
211      @H (target: D) (related: A)
212      @K (target: D) (related: A)
213      @N (target: D) (related: A)
214      @shadow-root-J (target: D) (related: A)
215      @J (target: D) (related: A)
216      @shadow-root-G (target: D) (related: A)
217      @G (target: D) (related: A)
218      @shadow-root-B (target: D) (related: A)
219      @B (target: D) (related: A)
220      @A (target: D) (related: A)
221      @top (target: D) (related: A)
222
223 Moving mouse from D to A
224
225   mouseout
226      @D (target: D) (related: A)
227      @C (target: D) (related: A)
228      @H (target: D) (related: A)
229      @K (target: D) (related: A)
230      @N (target: D) (related: A)
231      @shadow-root-J (target: D) (related: A)
232      @J (target: D) (related: A)
233      @shadow-root-G (target: D) (related: A)
234      @G (target: D) (related: A)
235      @shadow-root-B (target: D) (related: A)
236      @B (target: D) (related: A)
237      @A (target: D) (related: A)
238      @top (target: D) (related: A)
239
240   mouseover
241      @A (target: A) (related: D)
242      @top (target: A) (related: D)
243
244
245 Composed Shadow Tree will be:
246 DIV      id=sandbox
247         DIV      id=top
248                 DIV      id=shadow-host
249                         svg      id=svg-in-shadow-tree class=[object SVGAnimatedString]
250
251
252 Moving mouse from shadow-host/svg-in-shadow-tree to top
253
254   mouseout
255      @svg-in-shadow-tree (target: svg-in-shadow-tree) (related: top)
256      @shadow-root (target: svg-in-shadow-tree) (related: top)
257      @top (target: svg-in-shadow-tree) (related: top)
258
259   mouseover
260      @top (target: top) (related: shadow-host)
261
262
263 Composed Shadow Tree will be:
264 DIV      id=sandbox
265         DIV      id=top
266                 DIV      id=shadow-host
267                         #text   
268
269
270 Moving mouse from a direct child text node of the shadow root to top
271
272   mouseout
273      @shadow-root (target: shadow-root) (related: top)
274      @shadow-host (target: shadow-host) (related: top)
275      @top (target: shadow-host) (related: top)
276
277   mouseover
278      @top (target: top) (related: shadow-host)
279
280
281 Composed Shadow Tree will be:
282 DIV      id=sandbox
283         DIV      id=top
284                 DIV      id=shadow-host
285                         #text   
286
287
288 Moving mouse from a distributed text node to top
289
290   mouseout
291      @content (target: content) (related: top)
292      @shadow-root (target: content) (related: top)
293      @shadow-host (target: shadow-host) (related: top)
294      @top (target: shadow-host) (related: top)
295
296   mouseover
297      @top (target: top) (related: shadow-host)
298
299
300 Composed Shadow Tree will be:
301 DIV      id=sandbox
302         DIV      id=top
303                 DIV      id=A
304                 DIV      id=B
305                         DIV      id=parent-of-inactive-content
306                                 CONTENT  id=inactive-content
307                                         DIV      id=child-of-inactive-content
308
309
310 Moving mouse from A to child-of-inactive-content
311
312   mouseout
313      @A (target: A) (related: child-of-inactive-content)
314      @top (target: A) (related: child-of-inactive-content)
315
316   mouseover
317      @child-of-inactive-content (target: child-of-inactive-content) (related: A)
318      @inactive-content (target: child-of-inactive-content) (related: A)
319      @parent-of-inactive-content (target: child-of-inactive-content) (related: A)
320      @active-content (target: child-of-inactive-content) (related: A)
321      @shadow-root-B (target: child-of-inactive-content) (related: A)
322      @B (target: child-of-inactive-content) (related: A)
323      @top (target: child-of-inactive-content) (related: A)
324
325
326 Composed Shadow Tree will be:
327 DIV      id=sandbox
328         DIV      id=top
329                 DIV      id=A
330                         DIV      id=B
331                         DIV      id=D
332                         DIV      id=F
333
334
335 Moving mouse from B to A
336
337   mouseout
338      @B (target: B) (related: A)
339      @C (target: B) (related: A)
340      @older-shadow-root (target: B) (related: A)
341      @E (target: B) (related: A)
342      @younger-shadow-root (target: B) (related: A)
343      @A (target: B) (related: A)
344      @top (target: B) (related: A)
345
346   mouseover
347      @A (target: A) (related: B)
348      @top (target: A) (related: B)
349
350 Moving mouse from A/D to A//F
351
352   mouseout
353      @D (target: D) (related: A)
354      @older-shadow-root (target: D) (related: A)
355      @E (target: E) (related: F)
356      @younger-shadow-root (target: E) (related: F)
357
358   mouseover
359      @F (target: F) (related: E)
360      @younger-shadow-root (target: F) (related: E)
361
362 Moving mouse from B to A//F
363
364   mouseout
365      @B (target: B) (related: A)
366      @C (target: B) (related: A)
367      @older-shadow-root (target: B) (related: A)
368      @E (target: B) (related: F)
369      @younger-shadow-root (target: B) (related: F)
370      @A (target: B) (related: A)
371      @top (target: B) (related: A)
372
373   mouseover
374      @F (target: F) (related: B)
375      @younger-shadow-root (target: F) (related: B)
376      @A (target: A) (related: B)
377      @top (target: A) (related: B)
378
379
380 Composed Shadow Tree will be:
381 DIV      id=sandbox
382         DIV      id=top
383                 DIV      id=A
384                         DIV      id=D
385
386
387 Click C
388
389   click
390      @C (target: C)
391      @B (target: C)
392      @orphaned-shadow-root (target: C)
393      @A (target: A)
394      @top (target: A)
395
396 Click non-distributed-node
397
398   click
399      @non-distributed-node (target: non-distributed-node)
400      @A (target: non-distributed-node)
401      @top (target: non-distributed-node)
402
403
404 Composed Shadow Tree will be:
405 DIV      id=sandbox
406         DIV      id=top
407                 DIV      id=A
408                         DIV      id=used-fallback
409                         DIV      id=B
410
411
412 Moving mouse from A/used-fallback to A
413
414   mouseout
415      @used-fallback (target: used-fallback) (related: A)
416      @content1 (target: used-fallback) (related: A)
417      @shadow-root (target: used-fallback) (related: A)
418
419   mouseover
420
421 Moving mouse from A to A/used-fallback
422
423   mouseout
424
425   mouseover
426      @used-fallback (target: used-fallback) (related: A)
427      @content1 (target: used-fallback) (related: A)
428      @shadow-root (target: used-fallback) (related: A)
429
430 Click non-used-fallback node
431
432   click
433      @non-used-fallback (target: non-used-fallback)
434      @content2 (target: non-used-fallback)
435      @shadow-root (target: non-used-fallback)
436      @A (target: A)
437      @top (target: A)
438
439
440 Composed Shadow Tree will be:
441 DIV      id=sandbox
442         DIV      id=top
443                 DIV      id=host
444                         DIV      id=div1
445                         DIV      id=div2
446
447
448   mouseout
449
450   mouseover
451      @div2 (target: div2) (related: div1)
452      @shadow-root (target: div2) (related: div1)
453
454
455 Composed Shadow Tree will be:
456 DIV      id=sandbox
457         DIV      id=top
458                 DIV      id=host
459                         DIV      id=div1
460
461
462   mouseout
463
464   mouseover
465      @div1 (target: div1) (related: div1)
466      @shadow-root (target: div1) (related: div1)
467 PASS successfullyParsed is true
468
469 TEST COMPLETE
470