| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <link rel="stylesheet" href="../../js/resources/js-test-style.css"> | |
| 4 <script src="../../js/resources/js-test-pre.js"></script> | 3 <script src="../../js/resources/js-test-pre.js"></script> |
| 5 </head> | 4 </head> |
| 6 <body> | 5 <body> |
| 7 <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> |
| 8 <div id="host"> | 7 <div id="host"> |
| 9 </div> | 8 </div> |
| 10 <div id="ref"> | 9 <div id="ref"> |
| 11 </div> | 10 </div> |
| 12 | 11 |
| 13 <div id="console"></div> | 12 <div id="console"></div> |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 host.appendChild(style); | 63 host.appendChild(style); |
| 65 shouldBe("internals.numberOfScopedHTMLStyleChildren(host)", "1"); | 64 shouldBe("internals.numberOfScopedHTMLStyleChildren(host)", "1"); |
| 66 shouldBe("internals.numberOfScopedHTMLStyleChildren(sr)", "0"); /* <
style> in tree, scoped */ | 65 shouldBe("internals.numberOfScopedHTMLStyleChildren(sr)", "0"); /* <
style> in tree, scoped */ |
| 67 | 66 |
| 68 debug("--- DONE ---"); | 67 debug("--- DONE ---"); |
| 69 } | 68 } |
| 70 var successfullyParsed = true; | 69 var successfullyParsed = true; |
| 71 </script> | 70 </script> |
| 72 </body> | 71 </body> |
| 73 </html> | 72 </html> |
| OLD | NEW |