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

Side by Side Diff: LayoutTests/compositing/layer-creation/overlap-negative-z-index.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 29 matching lines...) Expand all
40 top: 0px; 40 top: 0px;
41 } 41 }
42 42
43 body { 43 body {
44 overflow: hidden; 44 overflow: hidden;
45 } 45 }
46 46
47 </style> 47 </style>
48 <script> 48 <script>
49 if (window.testRunner) { 49 if (window.testRunner) {
50 testRunner.dumpAsText(true); 50 testRunner.dumpAsTextWithPixelResults();
51 testRunner.waitUntilDone(); 51 testRunner.waitUntilDone();
52 } 52 }
53 53
54 window.addEventListener('load', function() { 54 window.addEventListener('load', function() {
55 if (window.testRunner) { 55 if (window.testRunner) {
56 document.getElementById("layertree").innerText = window.internals.la yerTreeAsText(document); 56 document.getElementById("layertree").innerText = window.internals.la yerTreeAsText(document);
57 testRunner.notifyDone(); 57 testRunner.notifyDone();
58 } 58 }
59 }, false); 59 }, false);
60 </script> 60 </script>
61 61
62 </head> 62 </head>
63 63
64 <body> 64 <body>
65 <!-- This red div should be completely underneath the green div --> 65 <!-- This red div should be completely underneath the green div -->
66 <div class="composited red box behind"> </div> 66 <div class="composited red box behind"> </div>
67 67
68 <!-- This lime colored div should correctly detect overlap and become composit ed. --> 68 <!-- This lime colored div should correctly detect overlap and become composit ed. -->
69 <div class="lime box ontop"> </div> 69 <div class="lime box ontop"> </div>
70 70
71 <pre id="layertree"></pre> 71 <pre id="layertree"></pre>
72 </body> 72 </body>
73 73
74 </html> 74 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698