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

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

Issue 49063011: Delete js-test-style.css. js-test-pre.js injects the CSS it needs now. (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">
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 &lt;style scoped&gt; element from its parent</p> 6 <p>Test [un]registering a &lt;style scoped&gt; 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
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>
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