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 <div id="test"></div> | 7 <div id="test"></div> |
8 | 8 |
9 <script> | 9 <script> |
10 var div = document.createElement("div"); | 10 var div = document.createElement("div"); |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 shadow1 = div.createShadowRoot(); | 53 shadow1 = div.createShadowRoot(); |
54 shadow1.appendChild(e); | 54 shadow1.appendChild(e); |
55 document.body.appendChild(div); | 55 document.body.appendChild(div); |
56 | 56 |
57 shouldBe("internals.parentTreeScope(shadow1)", "document"); | 57 shouldBe("internals.parentTreeScope(shadow1)", "document"); |
58 shouldBe("internals.parentTreeScope(shadow2)", "shadow1"); | 58 shouldBe("internals.parentTreeScope(shadow2)", "shadow1"); |
59 shouldBe("internals.parentTreeScope(shadow3)", "shadow2"); | 59 shouldBe("internals.parentTreeScope(shadow3)", "shadow2"); |
60 | 60 |
61 document.body.removeChild(div); | 61 document.body.removeChild(div); |
62 </script> | 62 </script> |
63 <script src="../../js/resources/js-test-post.js"></script> | |
64 </body> | 63 </body> |
65 </html> | 64 </html> |
OLD | NEW |