| 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 <script src="resources/polyfill.js"></script> | |
| 6 | 5 |
| 7 <div id="container"></div> | 6 <div id="container"></div> |
| 8 <pre id="console"></div> | 7 <pre id="console"></div> |
| 9 | 8 |
| 10 <script> | 9 <script> |
| 11 description('Confirms shadow.olderShadowRoot returns correct ShadowRoot'); | 10 description('Confirms shadow.olderShadowRoot returns correct ShadowRoot'); |
| 12 | 11 |
| 13 function testCase(f) | 12 function testCase(f) |
| 14 { | 13 { |
| 15 host = document.createElement('div'); | 14 host = document.createElement('div'); |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 container.removeChild(host); | 102 container.removeChild(host); |
| 104 | 103 |
| 105 shouldBe('shadow.olderShadowRoot', 'oldestShadowRoot'); | 104 shouldBe('shadow.olderShadowRoot', 'oldestShadowRoot'); |
| 106 }); | 105 }); |
| 107 | 106 |
| 108 container.innerHTML = ''; | 107 container.innerHTML = ''; |
| 109 </script> | 108 </script> |
| 110 <script src="../../js/resources/js-test-post.js"></script> | 109 <script src="../../js/resources/js-test-post.js"></script> |
| 111 </body> | 110 </body> |
| 112 </html> | 111 </html> |
| OLD | NEW |