OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 .comp { | 5 .comp { |
6 -webkit-transform: translateZ(0px); | 6 transform: translateZ(0px); |
7 } | 7 } |
8 body { | 8 body { |
9 margin:0; | 9 margin:0; |
10 padding:0; | 10 padding:0; |
11 } | 11 } |
12 .shadow { | 12 .shadow { |
13 position:absolute; | 13 position:absolute; |
14 left:20px; right:20px; | 14 left:20px; right:20px; |
15 width:500px; | 15 width:500px; |
16 height:500px; | 16 height:500px; |
(...skipping 10 matching lines...) Expand all Loading... |
27 testRunner.dumpAsTextWithPixelResults(); | 27 testRunner.dumpAsTextWithPixelResults(); |
28 } | 28 } |
29 </script> | 29 </script> |
30 </head> | 30 </head> |
31 | 31 |
32 <body> | 32 <body> |
33 <!-- If culled incorrectly, the top/left edges outside of the shadowed box end u
p being culled instead of painted/drawn properly. --> | 33 <!-- If culled incorrectly, the top/left edges outside of the shadowed box end u
p being culled instead of painted/drawn properly. --> |
34 <div class="comp shadow"></div> | 34 <div class="comp shadow"></div> |
35 </body> | 35 </body> |
36 </html> | 36 </html> |
OLD | NEW |