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/layer-creation/overlap-negative-z-index-multiple.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> 4 <style>
5 5
6 .composited { 6 .composited {
7 -webkit-transform:translatez(0); 7 -webkit-transform:translatez(0);
8 } 8 }
9 9
10 .box { 10 .box {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 top: 0px; 51 top: 0px;
52 } 52 }
53 53
54 body { 54 body {
55 overflow: hidden; 55 overflow: hidden;
56 } 56 }
57 57
58 </style> 58 </style>
59 <script> 59 <script>
60 if (window.testRunner) { 60 if (window.testRunner) {
61 testRunner.dumpAsText(true); 61 testRunner.dumpAsTextWithPixelResults();
62 testRunner.waitUntilDone(); 62 testRunner.waitUntilDone();
63 } 63 }
64 64
65 window.addEventListener('load', function() { 65 window.addEventListener('load', function() {
66 if (window.testRunner) { 66 if (window.testRunner) {
67 document.getElementById("layertree").innerText = window.internals.la yerTreeAsText(document); 67 document.getElementById("layertree").innerText = window.internals.la yerTreeAsText(document);
68 testRunner.notifyDone(); 68 testRunner.notifyDone();
69 } 69 }
70 }, false); 70 }, false);
71 </script> 71 </script>
72 72
73 </head> 73 </head>
74 74
75 <body> 75 <body>
76 <!-- This green div should be completely underneath the lime div --> 76 <!-- This green div should be completely underneath the lime div -->
77 <div class="composited green box behind"> </div> 77 <div class="composited green box behind"> </div>
78 78
79 <!-- This lime colored div should correctly detect overlap and become composit ed. --> 79 <!-- This lime colored div should correctly detect overlap and become composit ed. -->
80 <div class="lime box inmiddle"> </div> 80 <div class="lime box inmiddle"> </div>
81 81
82 <!-- The blue colord div should also correctly detect overlap on top of the se cond layer. --> 82 <!-- The blue colord div should also correctly detect overlap on top of the se cond layer. -->
83 <div class="blue box ontop"> </div> 83 <div class="blue box ontop"> </div>
84 84
85 <pre id="layertree"></pre> 85 <pre id="layertree"></pre>
86 </body> 86 </body>
87 87
88 </html> 88 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698