OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <style> | 5 <style> |
6 .container { | 6 .container { |
7 position: relative; | 7 position: relative; |
8 overflow: hidden; | 8 overflow: hidden; |
9 height: 190px; | 9 height: 190px; |
10 width: 200px; | 10 width: 200px; |
(...skipping 10 matching lines...) Expand all Loading... |
21 | 21 |
22 .behind { | 22 .behind { |
23 position: absolute; | 23 position: absolute; |
24 top: 0; | 24 top: 0; |
25 z-index: -1; | 25 z-index: -1; |
26 } | 26 } |
27 | 27 |
28 .composited { | 28 .composited { |
29 position: absolute; | 29 position: absolute; |
30 top: 50px; | 30 top: 50px; |
31 -webkit-transform: translateZ(0); | 31 transform: translateZ(0); |
32 background-color: green; | 32 background-color: green; |
33 } | 33 } |
34 </style> | 34 </style> |
35 <script> | 35 <script> |
36 if (window.testRunner) | 36 if (window.testRunner) |
37 testRunner.dumpAsText(); | 37 testRunner.dumpAsText(); |
38 </script> | 38 </script> |
39 </head> | 39 </head> |
40 <body> | 40 <body> |
41 <p>This test should not ASSERT in debug builds.</p> | 41 <p>This test should not ASSERT in debug builds.</p> |
42 <div class="container"> | 42 <div class="container"> |
43 <div class="behind box"></div> | 43 <div class="behind box"></div> |
44 <div class="composited box"></div> | 44 <div class="composited box"></div> |
45 </div> | 45 </div> |
46 </body> | 46 </body> |
47 </html> | 47 </html> |
OLD | NEW |