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

Side by Side Diff: LayoutTests/fast/css/style-scoped/style-scoped-scoping-nodes-different-order.html

Issue 58533003: Move fast/js/resources files to resources. (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 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <div id="insert"></div> 7 <div id="insert"></div>
8 <div> 8 <div>
9 <div> 9 <div>
10 <style scoped> 10 <style scoped>
11 span { 11 span {
12 color: grey; 12 color: grey;
13 } 13 }
14 </style> 14 </style>
(...skipping 18 matching lines...) Expand all
33 description('Test a case whether order of scoping nodes is different from or der of style elements.'); 33 description('Test a case whether order of scoping nodes is different from or der of style elements.');
34 shouldBe('document.styleSheets.length', '4'); 34 shouldBe('document.styleSheets.length', '4');
35 shouldBe('document.styleSheets[1].cssRules[0].cssText', '"span { color: gree n; }"'); 35 shouldBe('document.styleSheets[1].cssRules[0].cssText', '"span { color: gree n; }"');
36 shouldBe('document.styleSheets[2].cssRules[0].cssText', '"span { color: grey ; }"'); 36 shouldBe('document.styleSheets[2].cssRules[0].cssText', '"span { color: grey ; }"');
37 shouldBe('document.styleSheets[3].cssRules[0].cssText', '"span { border: 1px solid green; }"'); 37 shouldBe('document.styleSheets[3].cssRules[0].cssText', '"span { border: 1px solid green; }"');
38 shouldBe('borderColor("target")', '"rgb(0, 128, 0)"'); 38 shouldBe('borderColor("target")', '"rgb(0, 128, 0)"');
39 </script> 39 </script>
40 </body> 40 </body>
41 </html> 41 </html>
42 42
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698