| 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 <script src="resources/polyfill.js"></script> | |
| 6 <script src="resources/shadow-dom.js"></script> | 5 <script src="resources/shadow-dom.js"></script> |
| 7 </head> | 6 </head> |
| 8 <body> | 7 <body> |
| 9 | 8 |
| 10 <p>This test confirms that the number of elements having Shadow in a shadow subt
ree is correctly counted. | 9 <p>This test confirms that the number of elements having Shadow in a shadow subt
ree is correctly counted. |
| 11 See <a href="https://bugs.webkit.org/show_bug.cgi?id=100922">Bug 100922</a> also
.</p> | 10 See <a href="https://bugs.webkit.org/show_bug.cgi?id=100922">Bug 100922</a> also
.</p> |
| 12 | 11 |
| 13 <div id="container"></div> | 12 <div id="container"></div> |
| 14 <pre id="console"></pre> | 13 <pre id="console"></pre> |
| 15 | 14 |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 shouldBe('internals.countElementShadow(shadowRoot)', '0'); | 140 shouldBe('internals.countElementShadow(shadowRoot)', '0'); |
| 142 shouldBe('internals.countElementShadow(nestedShadowRoot)', '0'); | 141 shouldBe('internals.countElementShadow(nestedShadowRoot)', '0'); |
| 143 shouldBe('internals.countElementShadow(deepNestedShadowRoot)', '0'); | 142 shouldBe('internals.countElementShadow(deepNestedShadowRoot)', '0'); |
| 144 }); | 143 }); |
| 145 | 144 |
| 146 finishJSTest(); | 145 finishJSTest(); |
| 147 </script> | 146 </script> |
| 148 <script src="../../js/resources/js-test-post.js"></script> | 147 <script src="../../js/resources/js-test-post.js"></script> |
| 149 </body> | 148 </body> |
| 150 </html> | 149 </html> |
| OLD | NEW |