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

Side by Side Diff: LayoutTests/fast/repaint/fixed-table-overflow.html

Issue 24438004: Rename testRunner.dumpAsText(true) to testRunner.dumpAsTextWithPixelResults() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: more tests Created 7 years, 3 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 <html> 1 <html>
2 <head> 2 <head>
3 <link rel="stylesheet" href="resources/default.css"> 3 <link rel="stylesheet" href="resources/default.css">
4 <style> 4 <style>
5 table { top: 0px; left: 0px; border-spacing: 0px; position: absolute; } 5 table { top: 0px; left: 0px; border-spacing: 0px; position: absolute; }
6 td { background: green; padding: 0px; border-style: none; border: 0px; } 6 td { background: green; padding: 0px; border-style: none; border: 0px; }
7 td.fixed { position: fixed; left: 100px; top: 0px; } 7 td.fixed { position: fixed; left: 100px; top: 0px; }
8 </style> 8 </style>
9 <script src="resources/repaint.js"></script> 9 <script src="resources/repaint.js"></script>
10 <script> 10 <script>
11 if (window.testRunner) 11 if (window.testRunner)
12 testRunner.dumpAsText(true); 12 testRunner.dumpAsTextWithPixelResults();
13 13
14 function repaintTest() 14 function repaintTest()
15 { 15 {
16 document.getElementById('moveMe').className = "fixed"; 16 document.getElementById('moveMe').className = "fixed";
17 } 17 }
18 </script> 18 </script>
19 </head> 19 </head>
20 <body style="height:2000px;" onload="runRepaintTest()"> 20 <body style="height:2000px;" onload="runRepaintTest()">
21 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: RenderL ayer fixed position logic needs more basic testing --> 21 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: RenderL ayer fixed position logic needs more basic testing -->
22 <!-- You should see no red on this page. --> 22 <!-- You should see no red on this page. -->
23 <table> 23 <table>
24 <tr><td></td><td></td></tr> 24 <tr><td></td><td></td></tr>
25 <tr><td class="red"></td><td id="moveMe"><div style="position: relative; left: -100px; top: 0px;" class="green"></div></td></tr> 25 <tr><td class="red"></td><td id="moveMe"><div style="position: relative; left: -100px; top: 0px;" class="green"></div></td></tr>
26 <script> 26 <script>
27 window.scrollTo(0, 100); 27 window.scrollTo(0, 100);
28 </script> 28 </script>
29 </body> 29 </body>
30 </html> 30 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/repaint/fixed-table-cell.html ('k') | LayoutTests/fast/repaint/fixed-table-overflow-zindex.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698