| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html><body> | 2 <html><body> |
| 3 <script src="../../js/resources/js-test-pre.js"></script> | 3 <script src="../../js/resources/js-test-pre.js"></script> |
| 4 | 4 |
| 5 <p>Touch event should be fired in Shadow DOM.</p> | 5 <p>Touch event should be fired in Shadow DOM.</p> |
| 6 <p>Elements in ShadowDOM should not be revealed in touchTarget if it's examined
in non shadow tree.</p> | 6 <p>Elements in ShadowDOM should not be revealed in touchTarget if it's examined
in non shadow tree.</p> |
| 7 | 7 |
| 8 <div id="container"> | 8 <div id="container"> |
| 9 <input id="input1" type="text"> | 9 <input id="input1" type="text"> |
| 10 <div id="host1"></div> | 10 <div id="host1"></div> |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 eventSender.touchStart(); | 42 eventSender.touchStart(); |
| 43 eventSender.touchEnd(); | 43 eventSender.touchEnd(); |
| 44 | 44 |
| 45 shouldBeTrue('touchstartFiredInShadowDOM'); | 45 shouldBeTrue('touchstartFiredInShadowDOM'); |
| 46 shouldBe('touchTargetForHost1', 'host1'); | 46 shouldBe('touchTargetForHost1', 'host1'); |
| 47 shouldBe('touchTargetForInput1', 'input1'); | 47 shouldBe('touchTargetForInput1', 'input1'); |
| 48 | 48 |
| 49 container.remove(); | 49 container.remove(); |
| 50 </script> | 50 </script> |
| 51 | 51 |
| 52 <script src="../../js/resources/js-test-post.js"></script> | |
| 53 </body></html> | 52 </body></html> |
| OLD | NEW |