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

Side by Side Diff: LayoutTests/compositing/preserve-3d-toggle.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 <!-- 3 <!--
4 Check that removing the preserve-3d attribute from a layer has the intended 4 Check that removing the preserve-3d attribute from a layer has the intended
5 effect. See https://bugs.webkit.org/show_bug.cgi?id=95732. 5 effect. See https://bugs.webkit.org/show_bug.cgi?id=95732.
6 6
7 Passing criteria: green box shown without any visible red. 7 Passing criteria: green box shown without any visible red.
8 --> 8 -->
9 9
10 <html> 10 <html>
(...skipping 24 matching lines...) Expand all
35 .test { 35 .test {
36 position: absolute; 36 position: absolute;
37 -webkit-transform: translateZ(0); 37 -webkit-transform: translateZ(0);
38 background: green; 38 background: green;
39 } 39 }
40 </style> 40 </style>
41 41
42 <script type="text/javascript"> 42 <script type="text/javascript">
43 function doTest() { 43 function doTest() {
44 if (window.testRunner) { 44 if (window.testRunner) {
45 window.testRunner.dumpAsText(true); 45 window.testRunner.dumpAsTextWithPixelResults();
46 window.testRunner.waitUntilDone(); 46 window.testRunner.waitUntilDone();
47 } 47 }
48 window.setTimeout(function() { 48 window.setTimeout(function() {
49 document.getElementById('container').style.webkitTransformStyle = 'fla t'; 49 document.getElementById('container').style.webkitTransformStyle = 'fla t';
50 if (window.testRunner) 50 if (window.testRunner)
51 window.testRunner.notifyDone(); 51 window.testRunner.notifyDone();
52 }, 0); 52 }, 0);
53 } 53 }
54 window.addEventListener('load', doTest); 54 window.addEventListener('load', doTest);
55 </script> 55 </script>
56 </head> 56 </head>
57 57
58 <body> 58 <body>
59 <div class="test box"></div> 59 <div class="test box"></div>
60 <div id="container" class="transformed-container box"> 60 <div id="container" class="transformed-container box">
61 <div class="reverse-transformed-child indicator box"></div> 61 <div class="reverse-transformed-child indicator box"></div>
62 </div> 62 </div>
63 </body> 63 </body>
64 </html> 64 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698