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

Side by Side Diff: LayoutTests/fast/css/style-sharing-inline-stylesheet.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 lang=en> 1 <html lang=en>
2 <head> 2 <head>
3 <script src="../js/resources/js-test-pre.js"></script> 3 <script src="../js/resources/js-test-pre.js"></script>
4 <style> 4 <style>
5 .testclass { background-color: red; } 5 .testclass { background-color: red; }
6 </style> 6 </style>
7 </head> 7 </head>
8 <body> 8 <body>
9 <div class=testclass>first div</div> 9 <div class=testclass>first div</div>
10 <style> 10 <style>
11 .testclass { background-color: green; } 11 .testclass { background-color: green; }
12 </style> 12 </style>
13 <div class=testclass>second div</div> 13 <div class=testclass>second div</div>
14 14
15 <script> 15 <script>
16 description("Test that inline stylesheet does not confuse style sharing."); 16 description("Test that inline stylesheet does not confuse style sharing.");
17 shouldBe('window.getComputedStyle(document.getElementsByClassName("testclass")[1 ]).backgroundColor','"rgb(0, 128, 0)"'); 17 shouldBe('window.getComputedStyle(document.getElementsByClassName("testclass")[1 ]).backgroundColor','"rgb(0, 128, 0)"');
18 </script> 18 </script>
19 <script src="../js/resources/js-test-post.js"></script>
20 </body> 19 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698