| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="resources/polyfill.js"></script> | |
| 5 <script src="../resources/event-sender-util.js"></script> | 4 <script src="../resources/event-sender-util.js"></script> |
| 6 <script src="../../js/resources/js-test-pre.js"></script> | 5 <script src="../../js/resources/js-test-pre.js"></script> |
| 7 </head> | 6 </head> |
| 8 <body> | 7 <body> |
| 9 | 8 |
| 10 <div id="host"></div> | 9 <div id="host"></div> |
| 11 <pre id="console"></pre> | 10 <pre id="console"></pre> |
| 12 | 11 |
| 13 <script> | 12 <script> |
| 14 function createBox() { | 13 function createBox() { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 45 shouldBe('shadowRoot.elementFromPoint(x12, y12)', 'box12'); | 44 shouldBe('shadowRoot.elementFromPoint(x12, y12)', 'box12'); |
| 46 shouldBe('nestedShadowRoot.elementFromPoint(x22, y22)', 'box22'); | 45 shouldBe('nestedShadowRoot.elementFromPoint(x22, y22)', 'box22'); |
| 47 | 46 |
| 48 shouldBe('shadowRoot.elementFromPoint(x22, y22)', 'nestedHost'); | 47 shouldBe('shadowRoot.elementFromPoint(x22, y22)', 'nestedHost'); |
| 49 shouldBe('document.elementFromPoint(x22, y22)', 'host'); | 48 shouldBe('document.elementFromPoint(x22, y22)', 'host'); |
| 50 </script> | 49 </script> |
| 51 | 50 |
| 52 <script src="../../js/resources/js-test-post.js"></script> | 51 <script src="../../js/resources/js-test-post.js"></script> |
| 53 </body> | 52 </body> |
| 54 </html> | 53 </html> |
| OLD | NEW |