Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Side by Side Diff: LayoutTests/fast/css/style-scoped/registering.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <link rel="stylesheet" href="../../js/resources/js-test-style.css"> 3 <link rel="stylesheet" href="../../js/resources/js-test-style.css">
4 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <p>Test [un]registering a &lt;style scoped&gt; element from its parent</p> 7 <p>Test [un]registering a &lt;style scoped&gt; element from its parent</p>
8 <div id="scope1"> 8 <div id="scope1">
9 <style id="global1"></style> 9 <style id="global1"></style>
10 <style scoped='scoped1' id="scoped1"></style> 10 <style scoped='scoped1' id="scoped1"></style>
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 scoped1.scoped = false; 132 scoped1.scoped = false;
133 scoped2.removeAttribute('scoped'); 133 scoped2.removeAttribute('scoped');
134 shouldBe("internals.numberOfScopedHTMLStyleChildren(scope1)", "1"); /* in tree, child of scope2 */ 134 shouldBe("internals.numberOfScopedHTMLStyleChildren(scope1)", "1"); /* in tree, child of scope2 */
135 shouldBe("internals.numberOfScopedHTMLStyleChildren(scope2)", "0"); /* in tree */ 135 shouldBe("internals.numberOfScopedHTMLStyleChildren(scope2)", "0"); /* in tree */
136 shouldBe("internals.numberOfScopedHTMLStyleChildren(scope3)", "4"); /* in tree */ 136 shouldBe("internals.numberOfScopedHTMLStyleChildren(scope3)", "4"); /* in tree */
137 137
138 debug("--- DONE ---"); 138 debug("--- DONE ---");
139 } 139 }
140 var successfullyParsed = true; 140 var successfullyParsed = true;
141 </script> 141 </script>
142 <script src="../../js/resources/js-test-post.js"></script>
143 </body> 142 </body>
144 </html> 143 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/style-scoped/basic-attribute.html ('k') | LayoutTests/fast/css/style-scoped/registering-shadowroot.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698