| OLD | NEW |
| 1 <!DOCTYPE> | 1 <!DOCTYPE> |
| 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 margin: 0; | 7 margin: 0; |
| 8 } | 8 } |
| 9 | 9 |
| 10 img { | 10 img { |
| 11 position: relative; | 11 position: relative; |
| 12 display: block; | 12 display: block; |
| 13 width: 100px; | 13 width: 100px; |
| 14 height: 100px; | 14 height: 100px; |
| 15 } | 15 } |
| 16 | 16 |
| 17 .composited { | 17 .composited { |
| 18 -webkit-transform: translateZ(0); | 18 transform: translateZ(0); |
| 19 } | 19 } |
| 20 | 20 |
| 21 #indicator { | 21 #indicator { |
| 22 position: absolute; | 22 position: absolute; |
| 23 top: 0; | 23 top: 0; |
| 24 background-color: red; | 24 background-color: red; |
| 25 width: 100px; | 25 width: 100px; |
| 26 height: 200px; | 26 height: 200px; |
| 27 } | 27 } |
| 28 </style> | 28 </style> |
| 29 </head> | 29 </head> |
| 30 <body> | 30 <body> |
| 31 | 31 |
| 32 <div id="indicator"></div> | 32 <div id="indicator"></div> |
| 33 | 33 |
| 34 <img src="../../fast/images/resources/green_rectangle.pdf"> | 34 <img src="../../fast/images/resources/green_rectangle.pdf"> |
| 35 <img class="composited" src="../../fast/images/resources/green_rectangle.pdf
"> | 35 <img class="composited" src="../../fast/images/resources/green_rectangle.pdf
"> |
| 36 | 36 |
| 37 <!-- You should see no red above --> | 37 <!-- You should see no red above --> |
| 38 | 38 |
| 39 </body> | 39 </body> |
| 40 </html> | 40 </html> |
| OLD | NEW |