OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <title>Shadow DOM: Event path and Event.composedPath()</title> | 2 <title>Shadow DOM: Event path and Event.composedPath()</title> |
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="d1"> | 9 <div id="d1"> |
10 <div id="target"></div> | 10 <div id="target"></div> |
11 </div> | 11 </div> |
12 </div> | 12 </div> |
13 | 13 |
14 <script> | 14 <script> |
15 test(() => { | 15 test(() => { |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 assert_event_path_equals(log, [['target', 'target', null, path2], | 272 assert_event_path_equals(log, [['target', 'target', null, path2], |
273 ['slot1', 'target', null, path1], | 273 ['slot1', 'target', null, path1], |
274 ['slot2', 'target', null, path], | 274 ['slot2', 'target', null, path], |
275 ['sr2', 'target', null, path], | 275 ['sr2', 'target', null, path], |
276 ['host2', 'target', null, path1], | 276 ['host2', 'target', null, path1], |
277 ['sr1', 'target', null, path1], | 277 ['sr1', 'target', null, path1], |
278 ['host1', 'target', null, path2], | 278 ['host1', 'target', null, path2], |
279 ['test11', 'target', null, path2]]); | 279 ['test11', 'target', null, path2]]); |
280 }, 'Event Path with slots in nested ShadowRoots: closed > closed.'); | 280 }, 'Event Path with slots in nested ShadowRoots: closed > closed.'); |
281 </script> | 281 </script> |
OLD | NEW |