OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../js/resources/js-test-pre.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <p>This test checks multiple shadow trees can be moved into another document.</p
> | 7 <p>This test checks multiple shadow trees can be moved into another document.</p
> |
8 <pre id="console"></pre> | 8 <pre id="console"></pre> |
9 | 9 |
10 <iframe id="iframe"></iframe> | 10 <iframe id="iframe"></iframe> |
(...skipping 11 matching lines...) Expand all Loading... |
22 iframeDoc = iframe.contentDocument; | 22 iframeDoc = iframe.contentDocument; |
23 iframeDoc.body.appendChild(target); | 23 iframeDoc.body.appendChild(target); |
24 | 24 |
25 shouldBe('sr1.ownerDocument', 'iframeDoc'); | 25 shouldBe('sr1.ownerDocument', 'iframeDoc'); |
26 shouldBe('sr2.ownerDocument', 'iframeDoc'); | 26 shouldBe('sr2.ownerDocument', 'iframeDoc'); |
27 } | 27 } |
28 | 28 |
29 doTest(); | 29 doTest(); |
30 var successfullyParsed = true; | 30 var successfullyParsed = true; |
31 </script> | 31 </script> |
32 <script src="../../js/resources/js-test-post.js"></script> | |
33 </body> | 32 </body> |
34 </html> | 33 </html> |
OLD | NEW |