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

Side by Side Diff: LayoutTests/compositing/layer-creation/fixed-position-under-transform.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, 2 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> 4 <style>
5 body { 5 body {
6 height: 5000px; 6 height: 5000px;
7 overflow-x: hidden; 7 overflow-x: hidden;
8 } 8 }
9 9
10 #transform { 10 #transform {
(...skipping 18 matching lines...) Expand all
29 position: fixed; 29 position: fixed;
30 left: 0px; 30 left: 0px;
31 top: 0px; 31 top: 0px;
32 } 32 }
33 </style> 33 </style>
34 <script> 34 <script>
35 function doTest() { 35 function doTest() {
36 window.scrollTo(0, 1000); 36 window.scrollTo(0, 1000);
37 if (window.testRunner) { 37 if (window.testRunner) {
38 document.getElementById('layertree').innerText = window.internals.la yerTreeAsText(document); 38 document.getElementById('layertree').innerText = window.internals.la yerTreeAsText(document);
39 testRunner.dumpAsText(true); 39 testRunner.dumpAsTextWithPixelResults();
40 } 40 }
41 } 41 }
42 window.addEventListener("load", doTest, false); 42 window.addEventListener("load", doTest, false);
43 </script> 43 </script>
44 </head> 44 </head>
45 <body> 45 <body>
46 <!-- the red indicator should be covered by the green overlap element --> 46 <!-- the red indicator should be covered by the green overlap element -->
47 <div id="transform"> 47 <div id="transform">
48 <div id="indicator"></div> 48 <div id="indicator"></div>
49 </div> 49 </div>
50 <div id="overlap"></div> 50 <div id="overlap"></div>
51 51
52 <pre id="layertree"></pre> 52 <pre id="layertree"></pre>
53 </body> 53 </body>
54 </html> 54 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698