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