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