OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <title>Shadow DOM: Event path and Event.composedPath() (with related target)</ti
tle> |
| 3 <meta name="author" title="Hayato Ito" href="mailto:hayato@google.com"> |
2 <script src="../resources/testharness.js"></script> | 4 <script src="../resources/testharness.js"></script> |
3 <script src="../resources/testharnessreport.js"></script> | 5 <script src="../resources/testharnessreport.js"></script> |
4 <script src="resources/shadow-dom.js"></script> | 6 <script src="resources/shadow-dom.js"></script> |
5 | 7 |
6 <div id="test1"> | 8 <div id="test1"> |
7 <div id="target"></div> | 9 <div id="target"></div> |
8 <div id="related"></div> | 10 <div id="related"></div> |
9 </div> | 11 </div> |
10 | 12 |
11 <script> | 13 <script> |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 ['slot1', 'host3', 'host2', path], | 247 ['slot1', 'host3', 'host2', path], |
246 ['d1' , 'host3', 'host2', path], | 248 ['d1' , 'host3', 'host2', path], |
247 ['slot2', 'host3', 'related2', path], | 249 ['slot2', 'host3', 'related2', path], |
248 ['sr2', 'host3', 'related2', path], | 250 ['sr2', 'host3', 'related2', path], |
249 ['host2', 'host3', 'host2', path], | 251 ['host2', 'host3', 'host2', path], |
250 ['sr1', 'host3', 'host2', path], | 252 ['sr1', 'host3', 'host2', path], |
251 ['host1', 'host3', 'host1', path], | 253 ['host1', 'host3', 'host1', path], |
252 ['sr0', 'host3', 'host1' , path]]); | 254 ['sr0', 'host3', 'host1' , path]]); |
253 }, 'Event path for an event with a relatedTarget. Event should be dispatched at
every slots. relatedTarget should be correctly retargeted.'); | 255 }, 'Event path for an event with a relatedTarget. Event should be dispatched at
every slots. relatedTarget should be correctly retargeted.'); |
254 </script> | 256 </script> |
OLD | NEW |