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

Side by Side Diff: LayoutTests/fast/css/sibling-selectors-dynamic.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../js/resources/js-test-pre.js"></script> 2 <script src="../js/resources/js-test-pre.js"></script>
3 <style> 3 <style>
4 section { 4 section {
5 width: 20px; 5 width: 20px;
6 height: 20px; 6 height: 20px;
7 border: 2px solid; 7 border: 2px solid;
8 } 8 }
9 .foo + section + section + section { 9 .foo + section + section + section {
10 background-color: red; 10 background-color: red;
11 } 11 }
12 .bar + section + section + section { 12 .bar + section + section + section {
13 background-color: green; 13 background-color: green;
14 } 14 }
15 </style> 15 </style>
16 16
17 <section class="foo"></section> 17 <section class="foo"></section>
18 <section></section> 18 <section></section>
19 <section></section> 19 <section></section>
20 <section id="last"></section> 20 <section id="last"></section>
21 21
22 <script> 22 <script>
23 document.documentElement.offsetTop; 23 document.documentElement.offsetTop;
24 document.querySelector('.foo').className = 'bar'; 24 document.querySelector('.foo').className = 'bar';
25 document.documentElement.offsetTop; 25 document.documentElement.offsetTop;
26 shouldBe("getComputedStyle(document.getElementById('last')).backgroundColor", "' rgb(0, 128, 0)'"); 26 shouldBe("getComputedStyle(document.getElementById('last')).backgroundColor", "' rgb(0, 128, 0)'");
27 </script> 27 </script>
28 <script src="../js/resources/js-test-post.js"></script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/shorthands-four-values.html ('k') | LayoutTests/fast/css/square-button-appearance.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698