OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <body> | 3 <body> |
4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../../resources/js-test.js"></script> |
5 | 5 |
6 <div id="container"> | 6 <div id="container"> |
7 <video id='videoWithControls' controls width="320" height="240"></video> | 7 <video id='videoWithControls' controls width="320" height="240"></video> |
8 <video id='videoWithoutControls' width="320" height="240"></video> | 8 <video id='videoWithoutControls' width="320" height="240"></video> |
9 </div> | 9 </div> |
10 <pre id="console"></pre> | 10 <pre id="console"></pre> |
11 | 11 |
12 <script> | 12 <script> |
13 function addShadowDOM(host) { | 13 function addShadowDOM(host) { |
14 var shadowRoot = host.createShadowRoot(); | 14 var shadowRoot = host.createShadowRoot(); |
(...skipping 16 matching lines...) Expand all Loading... |
31 shouldBe("shadowRootForVideoWithControls", "youngerShadowRootForVideoWithControl
s"); | 31 shouldBe("shadowRootForVideoWithControls", "youngerShadowRootForVideoWithControl
s"); |
32 shouldNotBe("shadowRootForVideoWithControls", "oldestShadowRootForVideoWithContr
ols"); | 32 shouldNotBe("shadowRootForVideoWithControls", "oldestShadowRootForVideoWithContr
ols"); |
33 shouldBe("shadowRootForVideoWithoutControls", "youngerShadowRootForVideoWithoutC
ontrols"); | 33 shouldBe("shadowRootForVideoWithoutControls", "youngerShadowRootForVideoWithoutC
ontrols"); |
34 shouldNotBe("shadowRootForVideoWithoutControls", "oldestShadowRootForVideoWithou
tControls"); | 34 shouldNotBe("shadowRootForVideoWithoutControls", "oldestShadowRootForVideoWithou
tControls"); |
35 | 35 |
36 var successfullyParsed = true; | 36 var successfullyParsed = true; |
37 </script> | 37 </script> |
38 </body> | 38 </body> |
39 </html> | 39 </html> |
40 | 40 |
OLD | NEW |