OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <title>Shadow DOM: Event path and Event.composedPath() (with related target)</ti
tle> | 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"> | 3 <meta name="author" title="Hayato Ito" href="mailto:hayato@google.com"> |
4 <script src="../resources/testharness.js"></script> | 4 <script src="/resources/testharness.js"></script> |
5 <script src="../resources/testharnessreport.js"></script> | 5 <script src="/resources/testharnessreport.js"></script> |
6 <script src="resources/shadow-dom.js"></script> | 6 <script src="resources/shadow-dom.js"></script> |
7 | 7 |
8 <div id="test1"> | 8 <div id="test1"> |
9 <div id="target"></div> | 9 <div id="target"></div> |
10 <div id="related"></div> | 10 <div id="related"></div> |
11 </div> | 11 </div> |
12 | 12 |
13 <script> | 13 <script> |
14 test(() => { | 14 test(() => { |
15 let n = createTestTree(test1); | 15 let n = createTestTree(test1); |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 ['slot1', 'host3', 'host2', path], | 247 ['slot1', 'host3', 'host2', path], |
248 ['d1' , 'host3', 'host2', path], | 248 ['d1' , 'host3', 'host2', path], |
249 ['slot2', 'host3', 'related2', path], | 249 ['slot2', 'host3', 'related2', path], |
250 ['sr2', 'host3', 'related2', path], | 250 ['sr2', 'host3', 'related2', path], |
251 ['host2', 'host3', 'host2', path], | 251 ['host2', 'host3', 'host2', path], |
252 ['sr1', 'host3', 'host2', path], | 252 ['sr1', 'host3', 'host2', path], |
253 ['host1', 'host3', 'host1', path], | 253 ['host1', 'host3', 'host1', path], |
254 ['sr0', 'host3', 'host1' , path]]); | 254 ['sr0', 'host3', 'host1' , path]]); |
255 }, '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.'); |
256 </script> | 256 </script> |
OLD | NEW |