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

Side by Side Diff: LayoutTests/fast/backgrounds/obscured-background-child-style-change-expected.html

Issue 183703003: Remove more testRunner.display() calls from LayoutTests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Ditch fast/text/font-initial changes too Created 6 years, 9 months 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 <style> 1 <style>
2 .parent { 2 .parent {
3 position: relative; 3 position: relative;
4 background-color: black; 4 background-color: black;
5 width: 100px; 5 width: 100px;
6 height: 100px; 6 height: 100px;
7 } 7 }
8 .child { 8 .child {
9 position: relative; 9 position: relative;
10 background-color: rgba(0,255,0,0.8); 10 background-color: rgba(0,255,0,0.8);
11 width: 100px; 11 width: 100px;
12 height: 100px; 12 height: 100px;
13 } 13 }
14 </style> 14 </style>
15 <div class=parent> 15 <div class=parent>
16 <div class=child> 16 <div class=child>
17 </div> 17 </div>
18 </div> 18 </div>
19 <div class=parent> 19 <div class=parent>
20 <div> 20 <div>
21 <div class=child> 21 <div class=child>
22 </div> 22 </div>
23 </div> 23 </div>
24 </div> 24 </div>
25 <script> 25 <script>
26 document.body.offsetTop; 26 document.body.offsetTop;
27 if (window.testRunner)
28 testRunner.display();
29 var children = document.getElementsByClassName("child"); 27 var children = document.getElementsByClassName("child");
30 children[0].style.backgroundColor = "rgba(0,255,0,0.5)"; 28 children[0].style.backgroundColor = "rgba(0,255,0,0.5)";
31 children[1].style.backgroundColor = "rgba(0,255,0,0.5)"; 29 children[1].style.backgroundColor = "rgba(0,255,0,0.5)";
32 </script> 30 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698