OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script src="../../js/resources/js-test-pre.js"></script> | 2 <script src="../../js/resources/js-test-pre.js"></script> |
3 | 3 |
4 <pre id="console"></div> | 4 <pre id="console"></div> |
5 | 5 |
6 <script> | 6 <script> |
7 description('Tests ShadowRoot.olderShadowRoot property'); | 7 description('Tests ShadowRoot.olderShadowRoot property'); |
8 | 8 |
9 function createRoots(host, n) { | 9 function createRoots(host, n) { |
10 var roots = []; | 10 var roots = []; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 document.body.appendChild(host); | 67 document.body.appendChild(host); |
68 root = host.createShadowRoot(); | 68 root = host.createShadowRoot(); |
69 donor = document.createElement('div'); | 69 donor = document.createElement('div'); |
70 donor.root = donor.createShadowRoot(); | 70 donor.root = donor.createShadowRoot(); |
71 root.olderShadowRoot = donor.root; | 71 root.olderShadowRoot = donor.root; |
72 shouldBeNull('root.olderShadowRoot'); | 72 shouldBeNull('root.olderShadowRoot'); |
73 host.remove(); | 73 host.remove(); |
74 | 74 |
75 successfullyParsed = true; | 75 successfullyParsed = true; |
76 </script> | 76 </script> |
77 <script src="../../js/resources/js-test-post.js"></script> | |
78 </body> | 77 </body> |
79 </html> | 78 </html> |
OLD | NEW |