OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 .composited { | 5 .composited { |
6 transform: translateZ(0); | 6 transform: translateZ(0); |
7 } | 7 } |
8 .border { | 8 .border { |
9 border: 2px solid blue; | 9 border: 2px solid blue; |
10 } | 10 } |
(...skipping 21 matching lines...) Expand all Loading... |
32 | 32 |
33 if (window.testRunner) { | 33 if (window.testRunner) { |
34 testRunner.waitUntilDone(); | 34 testRunner.waitUntilDone(); |
35 testRunner.dumpAsText(); | 35 testRunner.dumpAsText(); |
36 } | 36 } |
37 </script> | 37 </script> |
38 </head> | 38 </head> |
39 | 39 |
40 <!-- The image should have a blue border, and its composited layer.drawsContent
should be true --> | 40 <!-- The image should have a blue border, and its composited layer.drawsContent
should be true --> |
41 <body> | 41 <body> |
42 <img class="composited" onload="load(this)" src="../../fast/images/resources/g
reen-256x256.jpg"> | 42 <img class="composited" onload="load(this)" src="../../images/resources/green-
256x256.jpg"> |
43 <pre id="result"></pre> | 43 <pre id="result"></pre> |
44 </body> | 44 </body> |
45 </html> | 45 </html> |
OLD | NEW |