| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html> | 2 <html> |
| 3 <style> | 3 <style> |
| 4 .container { | 4 .container { |
| 5 position: relative; | 5 position: relative; |
| 6 z-index: 0; | 6 z-index: 0; |
| 7 top: 123px; /* easy to detect values */ | 7 top: 123px; /* easy to detect values */ |
| 8 left: 123px; /* easy to detect values */ | 8 left: 123px; /* easy to detect values */ |
| 9 } | 9 } |
| 10 #child { | 10 #child { |
| 11 width: 100px; | 11 width: 100px; |
| 12 height: 100px; | 12 height: 100px; |
| 13 background-color: gray; | 13 background-color: gray; |
| 14 -webkit-transform: translateZ(0px); | 14 transform: translateZ(0px); |
| 15 } | 15 } |
| 16 </style> | 16 </style> |
| 17 <script> | 17 <script> |
| 18 if (window.testRunner) | 18 if (window.testRunner) |
| 19 testRunner.dumpAsText(); | 19 testRunner.dumpAsText(); |
| 20 </script> | 20 </script> |
| 21 <body> | 21 <body> |
| 22 <!-- This test passes if there's no ASSERT in debug mode. There should b
e a gray rectangle on screen. --> | 22 <!-- This test passes if there's no ASSERT in debug mode. There should b
e a gray rectangle on screen. --> |
| 23 <div class="container"> | 23 <div class="container"> |
| 24 <div id="child"></div> | 24 <div id="child"></div> |
| 25 </div> | 25 </div> |
| 26 </body> | 26 </body> |
| 27 </html> | 27 </html> |
| OLD | NEW |