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

Side by Side Diff: LayoutTests/fast/css/id-or-class-before-stylesheet.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 <html lang=en> 1 <html lang=en>
2 <head> 2 <head>
3 <script src="../js/resources/js-test-pre.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 <style> 4 <style>
5 #testid { background-color: red; } 5 #testid { background-color: red; }
6 #testID2 { background-color: red; } 6 #testID2 { background-color: red; }
7 .testclass { background-color: red; } 7 .testclass { background-color: red; }
8 .testClass2 { background-color: red; } 8 .testClass2 { background-color: red; }
9 </style> 9 </style>
10 </head> 10 </head>
11 <body> 11 <body>
12 <div id=testid>id test</div> 12 <div id=testid>id test</div>
13 <style> 13 <style>
(...skipping 12 matching lines...) Expand all
26 .TESTclass2 { background-color: green; } 26 .TESTclass2 { background-color: green; }
27 </style> 27 </style>
28 <script> 28 <script>
29 description("Test that elements before inline stylesheets get their style update d properly"); 29 description("Test that elements before inline stylesheets get their style update d properly");
30 shouldBe('window.getComputedStyle(document.getElementById("testid")).backgroundC olor','"rgb(0, 128, 0)"'); 30 shouldBe('window.getComputedStyle(document.getElementById("testid")).backgroundC olor','"rgb(0, 128, 0)"');
31 shouldBe('window.getComputedStyle(document.getElementsByClassName("testclass")[0 ]).backgroundColor','"rgb(0, 128, 0)"'); 31 shouldBe('window.getComputedStyle(document.getElementsByClassName("testclass")[0 ]).backgroundColor','"rgb(0, 128, 0)"');
32 shouldBe('window.getComputedStyle(document.getElementById("testID2")).background Color','"rgb(0, 128, 0)"'); 32 shouldBe('window.getComputedStyle(document.getElementById("testID2")).background Color','"rgb(0, 128, 0)"');
33 shouldBe('window.getComputedStyle(document.getElementsByClassName("testClass2")[ 0]).backgroundColor','"rgb(0, 128, 0)"'); 33 shouldBe('window.getComputedStyle(document.getElementsByClassName("testClass2")[ 0]).backgroundColor','"rgb(0, 128, 0)"');
34 </script> 34 </script>
35 </body> 35 </body>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/hover-update.html ('k') | LayoutTests/fast/css/id-or-class-before-stylesheet-strict.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698