| 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="../../js/resources/js-test-pre.js"></script> |
| 5 | 5 |
| 6 <div id="container"></div> | 6 <div id="container"></div> |
| 7 <pre id="console"></pre> | 7 <pre id="console"></pre> |
| 8 | 8 |
| 9 <script> | 9 <script> |
| 10 description("Tests to ensure ShadowRoot.getElementById works after complex DOM m
anipulation."); | 10 description("Tests to ensure ShadowRoot.getElementById works after complex DOM m
anipulation."); |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 debug(''); | 65 debug(''); |
| 66 debug('Remove D from shadowRootC'); | 66 debug('Remove D from shadowRootC'); |
| 67 shadowRootC.removeChild(D); | 67 shadowRootC.removeChild(D); |
| 68 | 68 |
| 69 shouldBe('document.getElementById("A")', 'null'); | 69 shouldBe('document.getElementById("A")', 'null'); |
| 70 shouldBe('shadowRootA.getElementById("B")', 'B'); | 70 shouldBe('shadowRootA.getElementById("B")', 'B'); |
| 71 shouldBe('shadowRootB.getElementById("C")', 'null'); | 71 shouldBe('shadowRootB.getElementById("C")', 'null'); |
| 72 shouldBe('shadowRootC.getElementById("D")', 'null'); | 72 shouldBe('shadowRootC.getElementById("D")', 'null'); |
| 73 | 73 |
| 74 </script> | 74 </script> |
| 75 <script src="../../js/resources/js-test-post.js"></script> | |
| 76 </body> | 75 </body> |
| 77 </html> | 76 </html> |
| OLD | NEW |