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

Side by Side Diff: LayoutTests/compositing/visibility/visibility-image-layers.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 .set { 6 .set {
7 display: inline-block; 7 display: inline-block;
8 border: 1px solid black; 8 border: 1px solid black;
9 } 9 }
10 .box { 10 .box {
(...skipping 29 matching lines...) Expand all
40 .visible-indicator { 40 .visible-indicator {
41 background-color: green; 41 background-color: green;
42 } 42 }
43 43
44 .hidden-indicator { 44 .hidden-indicator {
45 background-color: red; 45 background-color: red;
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 </script> 51 </script>
52 </head> 52 </head>
53 <body> 53 <body>
54 <!-- Tests visibility with directly composited images. --> 54 <!-- Tests visibility with directly composited images. -->
55 <!-- Left and right sides should look the same --> 55 <!-- Left and right sides should look the same -->
56 <div class="set"> 56 <div class="set">
57 <div class="container"><img src="../resources/thiswayup.png" class="hidden b ox"></div> 57 <div class="container"><img src="../resources/thiswayup.png" class="hidden b ox"></div>
58 <div class="hidden container"><img src="../resources/thiswayup.png" class="b ox"></div> 58 <div class="hidden container"><img src="../resources/thiswayup.png" class="b ox"></div>
59 <div class="hidden container"><img src="../resources/thiswayup.png" class="v isible box"></div> 59 <div class="hidden container"><img src="../resources/thiswayup.png" class="v isible box"></div>
60 </div> 60 </div>
61 61
62 <div class="set"> 62 <div class="set">
63 <div class="composited container"><img src="../resources/thiswayup.png" clas s="hidden composited box"></div> 63 <div class="composited container"><img src="../resources/thiswayup.png" clas s="hidden composited box"></div>
64 <div class="composited hidden container"><img src="../resources/thiswayup.pn g" class="composited box"></div> 64 <div class="composited hidden container"><img src="../resources/thiswayup.pn g" class="composited box"></div>
65 <div class="composited hidden container"><img src="../resources/thiswayup.pn g" class="visible composited box"></div> 65 <div class="composited hidden container"><img src="../resources/thiswayup.pn g" class="visible composited box"></div>
66 </div> 66 </div>
67 </body> 67 </body>
68 </html> 68 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698