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

Side by Side Diff: LayoutTests/fast/repaint/fixed-after-scroll.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 <script src="resources/repaint.js"></script> 4 <script src="resources/repaint.js"></script>
5 <script> 5 <script>
6 if (window.testRunner) 6 if (window.testRunner)
7 testRunner.dumpAsText(true); 7 testRunner.dumpAsTextWithPixelResults();
8 8
9 function repaintTest() 9 function repaintTest()
10 { 10 {
11 document.getElementById('t').style.position = "fixed"; 11 document.getElementById('t').style.position = "fixed";
12 } 12 }
13 </script> 13 </script>
14 </head> 14 </head>
15 15
16 <body style="height:2000px;" onload="runRepaintTest()"> 16 <body style="height:2000px;" onload="runRepaintTest()">
17 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: RenderL ayer fixed position logic needs more basic testing --> 17 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: RenderL ayer fixed position logic needs more basic testing -->
18 <!-- You should see no red on this page. --> 18 <!-- You should see no red on this page. -->
19 <div style="top: 200px;" class="red fixed"></div> 19 <div style="top: 200px;" class="red fixed"></div>
20 <div id="t" style="top: 200px;" class="green absolute"></div> 20 <div id="t" style="top: 200px;" class="green absolute"></div>
21 <script> 21 <script>
22 window.scrollTo(0, 500); 22 window.scrollTo(0, 500);
23 </script> 23 </script>
24 </body> 24 </body>
25 </html> 25 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/repaint/event-while-loading.html ('k') | LayoutTests/fast/repaint/fixed-and-absolute-position-scrolled.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698