OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../../js/resources/js-test-pre.js"></script> | 3 <script src="../../../resources/js-test.js"></script> |
4 </head> | 4 </head> |
5 <body> | 5 <body> |
6 <p>Test having a <style scoped> element as a direct child of a ShadowR
oot.</p> | 6 <p>Test having a <style scoped> element as a direct child of a ShadowR
oot.</p> |
7 <div id="host"> | 7 <div id="host"> |
8 </div> | 8 </div> |
9 <div id="ref"> | 9 <div id="ref"> |
10 </div> | 10 </div> |
11 | 11 |
12 <div id="console"></div> | 12 <div id="console"></div> |
13 | 13 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 host.appendChild(style); | 63 host.appendChild(style); |
64 shouldBe("internals.numberOfScopedHTMLStyleChildren(host)", "1"); | 64 shouldBe("internals.numberOfScopedHTMLStyleChildren(host)", "1"); |
65 shouldBe("internals.numberOfScopedHTMLStyleChildren(sr)", "0"); /* <
style> in tree, scoped */ | 65 shouldBe("internals.numberOfScopedHTMLStyleChildren(sr)", "0"); /* <
style> in tree, scoped */ |
66 | 66 |
67 debug("--- DONE ---"); | 67 debug("--- DONE ---"); |
68 } | 68 } |
69 var successfullyParsed = true; | 69 var successfullyParsed = true; |
70 </script> | 70 </script> |
71 </body> | 71 </body> |
72 </html> | 72 </html> |
OLD | NEW |