| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../../resources/js-test.js"></script> |
| 5 <script src="resources/shadow-dom.js"></script> | 5 <script src="resources/shadow-dom.js"></script> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 <p id="description"></p> | 8 <p id="description"></p> |
| 9 <div id="sandbox"></div> | 9 <div id="sandbox"></div> |
| 10 <pre id="console"></pre> | 10 <pre id="console"></pre> |
| 11 <script> | 11 <script> |
| 12 description("Tests to ensure that shadow DOM boundary is not crossed during even
t propagation. Can only run within DRT."); | 12 description("Tests to ensure that shadow DOM boundary is not crossed during even
t propagation. Can only run within DRT."); |
| 13 | 13 |
| 14 function moveMouseOver(element) | 14 function moveMouseOver(element) |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 moveFocus('shadowD/shadowF/shadowG/divH', 'shadowD/shadowK/divL', | 200 moveFocus('shadowD/shadowF/shadowG/divH', 'shadowD/shadowK/divL', |
| 201 'Old focused node and new focused node exist in separated subtrees
, crossing shadow boundaries. Making sure that an event is not dispatched beyond
the lowest common boundary.'); | 201 'Old focused node and new focused node exist in separated subtrees
, crossing shadow boundaries. Making sure that an event is not dispatched beyond
the lowest common boundary.'); |
| 202 shouldBe('dispatchedEvent("focus")', '["shadowK(<-shadowF)(@divJ)(capturing
phase)", "divL(<-shadowF)(@divL)", "shadowK(<-shadowF)(@shadowK)"]'); | 202 shouldBe('dispatchedEvent("focus")', '["shadowK(<-shadowF)(@divJ)(capturing
phase)", "divL(<-shadowF)(@divL)", "shadowK(<-shadowF)(@shadowK)"]'); |
| 203 shouldBe('dispatchedEvent("blur")', '["shadowF(<-shadowK)(@divE)(capturing p
hase)", "divH(<-shadowK)(@divH)", "shadowG(<-shadowK)(@shadowG)", "shadowF(<-sha
dowK)(@shadowF)"]'); | 203 shouldBe('dispatchedEvent("blur")', '["shadowF(<-shadowK)(@divE)(capturing p
hase)", "divH(<-shadowK)(@divH)", "shadowG(<-shadowK)(@shadowG)", "shadowF(<-sha
dowK)(@shadowF)"]'); |
| 204 } | 204 } |
| 205 | 205 |
| 206 test(); | 206 test(); |
| 207 </script> | 207 </script> |
| 208 </body> | 208 </body> |
| 209 </html> | 209 </html> |
| OLD | NEW |