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/shadow-dom.js"></script> | 5 <script src="resources/shadow-dom.js"></script> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 | 8 |
9 <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. |
10 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> |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 shouldBe('internals.countElementShadow(deepNestedShadowRoot)', '1'); | 137 shouldBe('internals.countElementShadow(deepNestedShadowRoot)', '1'); |
138 | 138 |
139 container.innerHTML = ""; | 139 container.innerHTML = ""; |
140 shouldBe('internals.countElementShadow(shadowRoot)', '0'); | 140 shouldBe('internals.countElementShadow(shadowRoot)', '0'); |
141 shouldBe('internals.countElementShadow(nestedShadowRoot)', '0'); | 141 shouldBe('internals.countElementShadow(nestedShadowRoot)', '0'); |
142 shouldBe('internals.countElementShadow(deepNestedShadowRoot)', '0'); | 142 shouldBe('internals.countElementShadow(deepNestedShadowRoot)', '0'); |
143 }); | 143 }); |
144 | 144 |
145 finishJSTest(); | 145 finishJSTest(); |
146 </script> | 146 </script> |
147 <script src="../../js/resources/js-test-post.js"></script> | |
148 </body> | 147 </body> |
149 </html> | 148 </html> |
OLD | NEW |