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

Side by Side Diff: LayoutTests/compositing/geometry/bounds-clipped-composited-child.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 2
3 <html> 3 <html>
4 <head> 4 <head>
5 <style> 5 <style>
6 body { 6 body {
7 overflow: hidden; 7 overflow: hidden;
8 } 8 }
9 .container { 9 .container {
10 margin-left: 50px; 10 margin-left: 50px;
(...skipping 19 matching lines...) Expand all
30 height: 100px; 30 height: 100px;
31 background-color: red; 31 background-color: red;
32 } 32 }
33 33
34 #layers { 34 #layers {
35 opacity: 0; /* hide from pixel result */ 35 opacity: 0; /* hide from pixel result */
36 } 36 }
37 </style> 37 </style>
38 <script> 38 <script>
39 if (window.testRunner) 39 if (window.testRunner)
40 testRunner.dumpAsText(true); 40 testRunner.dumpAsTextWithPixelResults();
41 41
42 function dumpLayers() 42 function dumpLayers()
43 { 43 {
44 if (window.testRunner) 44 if (window.testRunner)
45 document.getElementById('layers').innerText = window.internals.layerTree AsText(document); 45 document.getElementById('layers').innerText = window.internals.layerTree AsText(document);
46 } 46 }
47 47
48 window.addEventListener('load', dumpLayers, false); 48 window.addEventListener('load', dumpLayers, false);
49 </script> 49 </script>
50 </head> 50 </head>
51 <body> 51 <body>
52 <!-- You should see a green rectangle, and no red. --> 52 <!-- You should see a green rectangle, and no red. -->
53 <div id="indicator"></div> 53 <div id="indicator"></div>
54 <div class="container"> 54 <div class="container">
55 <div class="box" style="-webkit-transform: translateX(0)"></div> 55 <div class="box" style="-webkit-transform: translateX(0)"></div>
56 <div class="box" style="-webkit-transform: translateX(100%)"></div> 56 <div class="box" style="-webkit-transform: translateX(100%)"></div>
57 </div> 57 </div>
58 <pre id="layers">Layer tree goes here in DRT</pre> 58 <pre id="layers">Layer tree goes here in DRT</pre>
59 </body> 59 </body>
60 </html> 60 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698