OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <style type="text/css" media="screen"> | 5 <style type="text/css" media="screen"> |
6 body { | 6 body { |
7 height: 2049px; /* Cause view-size limits to kick in on Leopard. */ | 7 height: 2049px; /* Cause view-size limits to kick in on Leopard. */ |
8 } | 8 } |
9 | 9 |
10 .box { | 10 .box { |
11 position: absolute; | 11 position: absolute; |
12 width: 100px; | 12 width: 100px; |
13 height: 100px; | 13 height: 100px; |
14 } | 14 } |
15 | 15 |
16 .test { | 16 .test { |
17 -webkit-transform: translateZ(0); | 17 transform: translateZ(0); |
18 background-color: green; | 18 background-color: green; |
19 } | 19 } |
20 | 20 |
21 .indicator { | 21 .indicator { |
22 background-color: red; | 22 background-color: red; |
23 } | 23 } |
24 | 24 |
25 </style> | 25 </style> |
26 </head> | 26 </head> |
27 <body> | 27 <body> |
28 | 28 |
29 <!-- In the pixel results you should see no red. --> | 29 <!-- In the pixel results you should see no red. --> |
30 <div class="indicator box"></div> | 30 <div class="indicator box"></div> |
31 <div class="test box"></div> | 31 <div class="test box"></div> |
32 | 32 |
33 </body> | 33 </body> |
34 </html> | 34 </html> |
OLD | NEW |