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

Side by Side Diff: LayoutTests/fast/layers/nested-layers-3.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../resources/run-after-display.js"></script>
4 <script> 5 <script>
5 function test() 6 function test()
6 { 7 {
7 document.body.offsetTop;
8 if (window.testRunner) { 8 if (window.testRunner) {
9 testRunner.display(); 9 testRunner.waitUntilDone();
10 testRunner.dumpAsText(); 10 testRunner.dumpAsText();
11 finish();
12 } else {
13 window.setTimeout(finish, 50);
14 } 11 }
12 runAfterDisplay(finish);
15 } 13 }
16 14
17 function finish() 15 function finish()
18 { 16 {
19 var innerLayer = document.getElementById('innerLayer'); 17 var innerLayer = document.getElementById('innerLayer');
20 innerLayer.style.left = '19px'; 18 innerLayer.style.left = '19px';
21 innerLayer.style.top = '23px'; 19 innerLayer.style.top = '23px';
22 foo.scrollTop = 50; 20 foo.scrollTop = 50;
21 if (window.testRunner)
22 testRunner.notifyDone();
23 } 23 }
24 </script> 24 </script>
25 <style> 25 <style>
26 /* nodes that have layers and are containers for their children */ 26 /* nodes that have layers and are containers for their children */
27 .a { outline: solid blue 1px } 27 .a { outline: solid blue 1px }
28 28
29 /* nodes that have layers but are not containers for their children */ 29 /* nodes that have layers but are not containers for their children */
30 .b { outline: solid red 1px } 30 .b { outline: solid red 1px }
31 31
32 /* nodes that do not have layers */ 32 /* nodes that do not have layers */
(...skipping 13 matching lines...) Expand all
46 <div style="width:45px; height:45px" class="c"></div> 46 <div style="width:45px; height:45px" class="c"></div>
47 </div> 47 </div>
48 </div> 48 </div>
49 <div style="opacity: 0.8; width: 25px; height: 37px" id="foo" class="b">< /div> 49 <div style="opacity: 0.8; width: 25px; height: 37px" id="foo" class="b">< /div>
50 <div style="position:absolute; left:7px; top:50px; width:40px; height:40px " class="a"> 50 <div style="position:absolute; left:7px; top:50px; width:40px; height:40px " class="a">
51 </div> 51 </div>
52 </div> 52 </div>
53 </div> 53 </div>
54 </body> 54 </body>
55 </html 55 </html
OLDNEW
« no previous file with comments | « LayoutTests/fast/layers/nested-layers-2.html ('k') | LayoutTests/fast/layers/nested-layers-4.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698