| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <style> | 4 <style> |
| 5 object { | 5 object { |
| 6 border: 2px dashed maroon; | 6 border: 2px dashed maroon; |
| 7 padding: 3px; | 7 padding: 3px; |
| 8 } | 8 } |
| 9 | 9 |
| 10 .object1 { | 10 .object1 { |
| 11 height: auto; | 11 height: auto; |
| 12 width: auto; | 12 width: auto; |
| 13 } | 13 } |
| 14 | 14 |
| 15 .object2 { | 15 .object2 { |
| 16 height: 220px; | 16 height: 220px; |
| 17 width: 220px; | 17 width: 220px; |
| 18 } | 18 } |
| 19 </style> | 19 </style> |
| 20 </head> | 20 </head> |
| 21 <body onload="runRepaintTest()"> | 21 <body onload="forceStyleRecalc();repaintTest();"> |
| 22 <!-- All objects need to look identical --> | 22 <!-- All objects need to look identical --> |
| 23 <object class="object1" data="resources/circle.svg"></object> | 23 <object class="object1" data="resources/circle.svg"></object> |
| 24 <object class="object2" data="resources/circle.svg"></object> | 24 <object class="object2" data="resources/circle.svg"></object> |
| 25 | 25 |
| 26 <!-- After zooming the circles should still fill the boxes, it remains the s
ame image as before, just smaller as whole --> | 26 <!-- After zooming the circles should still fill the boxes, it remains the s
ame image as before, just smaller as whole --> |
| 27 <script>var zoomCount = 2; window.shouldZoomOut = true;</script> | 27 <script>var zoomCount = 2; window.shouldZoomOut = true;</script> |
| 28 <script src="../../../fast/repaint/resources/repaint.js"></script> | 28 <script src="../../../fast/repaint/resources/text-based-repaint.js"></script
> |
| 29 <script src="../resources/testPageZoom.js"></script> | 29 <script src="../resources/testPageZoom.js"></script> |
| 30 </body> | 30 </body> |
| 31 </html> | 31 </html> |
| OLD | NEW |