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

Side by Side Diff: LayoutTests/compositing/overflow/transform-in-empty-container.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><head> 2 <html><head>
3 <title>Transform in an empty container test.</title> 3 <title>Transform in an empty container test.</title>
4 <style type="text/css"> 4 <style type="text/css">
5 .composited { 5 .composited {
6 -webkit-transform: translateZ(0); 6 -webkit-transform: translateZ(0);
7 } 7 }
8 .abs { 8 .abs {
9 position: absolute; 9 position: absolute;
10 } 10 }
11 11
12 .empty-transform { 12 .empty-transform {
13 -webkit-transform: matrix3d(1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1) ; 13 -webkit-transform: matrix3d(1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1) ;
14 width: 0px; 14 width: 0px;
15 height: 100px; 15 height: 100px;
16 } 16 }
17 17
18 .green { 18 .green {
19 background-color: green; 19 background-color: green;
20 } 20 }
21 .box { 21 .box {
22 width: 50px; 22 width: 50px;
23 height: 50px; 23 height: 50px;
24 } 24 }
25 </style> 25 </style>
26 <script type="text/javascript"> 26 <script type="text/javascript">
27 if (window.testRunner) { 27 if (window.testRunner) {
28 testRunner.dumpAsText(true); 28 testRunner.dumpAsTextWithPixelResults();
29 } 29 }
30 </script> 30 </script>
31 </head> 31 </head>
32 32
33 <body> 33 <body>
34 34
35 <!-- 35 <!--
36 This div has a height, and is transformed to flip things inside it along th e Y axis. 36 This div has a height, and is transformed to flip things inside it along th e Y axis.
37 While it does not have a width, overflow contents need to be transformed ba sed on its height still. 37 While it does not have a width, overflow contents need to be transformed ba sed on its height still.
38 --> 38 -->
39 <div class="abs empty-transform"> 39 <div class="abs empty-transform">
40 <div class="composited green box"></div> 40 <div class="composited green box"></div>
41 </div> 41 </div>
42 42
43 </body> 43 </body>
44 </html> 44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698