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

Side by Side Diff: LayoutTests/compositing/iframes/resources/fixed-position-transformed-subframe.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style type='text/css'> 4 <style type='text/css'>
5 body { 5 body {
6 height: 1000px; 6 height: 1000px;
7 } 7 }
8 8
9 .green { 9 .green {
10 background-color: green; 10 background-color: green;
(...skipping 13 matching lines...) Expand all
24 .container { 24 .container {
25 position: relative; 25 position: relative;
26 } 26 }
27 27
28 .perspective { 28 .perspective {
29 -webkit-perspective: 1px; 29 -webkit-perspective: 1px;
30 } 30 }
31 </style> 31 </style>
32 <script> 32 <script>
33 if (window.testRunner) { 33 if (window.testRunner) {
34 testRunner.dumpAsText(true); 34 testRunner.dumpAsTextWithPixelResults();
35 } 35 }
36 36
37 function doTest() 37 function doTest()
38 { 38 {
39 if (window.testRunner) 39 if (window.testRunner)
40 testRunner.display(); 40 testRunner.display();
41 41
42 // Any scroll should keep the fixed-position element where it is. 42 // Any scroll should keep the fixed-position element where it is.
43 // If it stutters or disappears incorrectly, then the red background will be revealed. 43 // If it stutters or disappears incorrectly, then the red background will be revealed.
44 window.scrollTo(0, 150); 44 window.scrollTo(0, 150);
45 } 45 }
46 46
47 window.addEventListener('load', doTest, false); 47 window.addEventListener('load', doTest, false);
48 </script> 48 </script>
49 </head> 49 </head>
50 <body> 50 <body>
51 <div class="green fixed box"> 51 <div class="green fixed box">
52 <div class="container"> 52 <div class="container">
53 <div class="perspective"></div> 53 <div class="perspective"></div>
54 </div> 54 </div>
55 </div> 55 </div>
56 </body> 56 </body>
57 </html> 57 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698