| 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 [un]registering a <style scoped> element from its parent</p> | 6 <p>Test [un]registering a <style scoped> element from its parent</p> |
| 8 <div id="scope1"> | 7 <div id="scope1"> |
| 9 <style id="global1"></style> | 8 <style id="global1"></style> |
| 10 <style scoped='scoped1' id="scoped1"></style> | 9 <style scoped='scoped1' id="scoped1"></style> |
| 11 </div> | 10 </div> |
| 12 <div id="scope2"> | 11 <div id="scope2"> |
| 13 </div> | 12 </div> |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 shouldBe("internals.numberOfScopedHTMLStyleChildren(scope1)", "1");
/* in tree, child of scope2 */ | 133 shouldBe("internals.numberOfScopedHTMLStyleChildren(scope1)", "1");
/* in tree, child of scope2 */ |
| 135 shouldBe("internals.numberOfScopedHTMLStyleChildren(scope2)", "0");
/* in tree */ | 134 shouldBe("internals.numberOfScopedHTMLStyleChildren(scope2)", "0");
/* in tree */ |
| 136 shouldBe("internals.numberOfScopedHTMLStyleChildren(scope3)", "4");
/* in tree */ | 135 shouldBe("internals.numberOfScopedHTMLStyleChildren(scope3)", "4");
/* in tree */ |
| 137 | 136 |
| 138 debug("--- DONE ---"); | 137 debug("--- DONE ---"); |
| 139 } | 138 } |
| 140 var successfullyParsed = true; | 139 var successfullyParsed = true; |
| 141 </script> | 140 </script> |
| 142 </body> | 141 </body> |
| 143 </html> | 142 </html> |
| OLD | NEW |