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

Side by Side Diff: LayoutTests/css3/filters/filtered-compositing-descendant.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 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 .box { 9 .box {
10 width: 100px; 10 width: 100px;
11 height: 100px; 11 height: 100px;
12 } 12 }
13 .filtered { 13 .filtered {
14 -webkit-filter: saturate(0); 14 -webkit-filter: saturate(0);
15 padding: 20px; 15 padding: 20px;
16 border: 2px solid black; 16 border: 2px solid black;
17 } 17 }
18 .compositing { 18 .compositing {
19 -webkit-transform: translateZ(1px); 19 -webkit-transform: translateZ(1px);
20 background-color: red; 20 background-color: red;
21 } 21 }
22 22
23 pre { 23 pre {
24 opacity: 0; /* hide in pixel result */ 24 opacity: 0; /* hide in pixel result */
25 } 25 }
26 </style> 26 </style>
27 <script> 27 <script>
28 if (window.testRunner) 28 if (window.testRunner)
29 testRunner.dumpAsText(true); 29 testRunner.dumpAsTextWithPixelResults();
30 30
31 window.addEventListener('load', function () { 31 window.addEventListener('load', function () {
32 if (window.testRunner) 32 if (window.testRunner)
33 document.getElementById('layer-tree').innerText = window.internals.layer TreeAsText(document); 33 document.getElementById('layer-tree').innerText = window.internals.layer TreeAsText(document);
34 }, false); 34 }, false);
35 </script> 35 </script>
36 </head> 36 </head>
37 <body> 37 <body>
38 <!-- You should see no red below --> 38 <!-- You should see no red below -->
39 <div class="filtered box"> 39 <div class="filtered box">
40 <div class="compositing box"></div> 40 <div class="compositing box"></div>
41 </div> 41 </div>
42 <pre id="layer-tree">Layer tree goes here in DRT</pre> 42 <pre id="layer-tree">Layer tree goes here in DRT</pre>
43 </body> 43 </body>
44 </html> 44 </html>
OLDNEW
« no previous file with comments | « LayoutTests/css3/filters/filter-with-transform.html ('k') | LayoutTests/css3/filters/filtered-inline.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698