| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <style type="text/css"> | 4 <style type="text/css"> |
| 5 body { | 5 body { |
| 6 margin: 0; | 6 margin: 0; |
| 7 } | 7 } |
| 8 | 8 |
| 9 .container { | 9 .container { |
| 10 top: 10px; | 10 top: 10px; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 } | 31 } |
| 32 | 32 |
| 33 .indicator { | 33 .indicator { |
| 34 top: 10px; | 34 top: 10px; |
| 35 left: 110px; | 35 left: 110px; |
| 36 background-color: red; | 36 background-color: red; |
| 37 } | 37 } |
| 38 </style> | 38 </style> |
| 39 <script type="text/javascript" charset="utf-8"> | 39 <script type="text/javascript" charset="utf-8"> |
| 40 if (window.testRunner) { | 40 if (window.testRunner) { |
| 41 testRunner.dumpAsText(true); | 41 testRunner.dumpAsTextWithPixelResults(); |
| 42 testRunner.waitUntilDone(); | 42 testRunner.waitUntilDone(); |
| 43 } | 43 } |
| 44 | 44 |
| 45 function doTest() | 45 function doTest() |
| 46 { | 46 { |
| 47 window.setTimeout(function() { | 47 window.setTimeout(function() { |
| 48 document.getElementById('target').style.webkitTransformOriginZ = '100px'
; | 48 document.getElementById('target').style.webkitTransformOriginZ = '100px'
; |
| 49 if (window.testRunner) | 49 if (window.testRunner) |
| 50 testRunner.notifyDone(); | 50 testRunner.notifyDone(); |
| 51 }, 0); | 51 }, 0); |
| 52 } | 52 } |
| 53 | 53 |
| 54 window.addEventListener('load', doTest, false); | 54 window.addEventListener('load', doTest, false); |
| 55 </script> | 55 </script> |
| 56 </head> | 56 </head> |
| 57 <body> | 57 <body> |
| 58 <!-- The gren box should snap to the right, obscuring the red box. --> | 58 <!-- The gren box should snap to the right, obscuring the red box. --> |
| 59 <div class="indicator box"></div> | 59 <div class="indicator box"></div> |
| 60 <div class="container box"> | 60 <div class="container box"> |
| 61 <div id="target" class="intermediate box"> | 61 <div id="target" class="intermediate box"> |
| 62 <div class="inner box"> | 62 <div class="inner box"> |
| 63 </div> | 63 </div> |
| 64 </div> | 64 </div> |
| 65 </div> | 65 </div> |
| 66 </body> | 66 </body> |
| 67 </html> | 67 </html> |
| OLD | NEW |