| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <style> | 3 <style> |
| 4 div { | 4 div { |
| 5 background: green; | 5 background: green; |
| 6 background-repeat: no-repeat; | 6 background-repeat: no-repeat; |
| 7 background-image: url(resources/relative-sized-background-with-viewBox.svg); | 7 background-image: url(resources/relative-sized-background-with-viewBox.svg); |
| 8 height: 600px; | 8 height: 600px; |
| 9 width: 800px; | 9 width: 800px; |
| 10 } | 10 } |
| 11 </style> | 11 </style> |
| 12 </head> | 12 </head> |
| 13 <!-- The background shouldn't be red in a debug build --> | 13 <!-- The background shouldn't be red in a debug build --> |
| 14 <body style='margin: 0px' onload="runRepaintTest()"> | 14 <body style='margin: 0px' onload="forceStyleRecalc();repaintTest();"> |
| 15 <div> </div> | 15 <div> </div> |
| 16 | 16 |
| 17 <script>var zoomCount = 1; window.shouldZoomOut = true;</script> | 17 <script>var zoomCount = 1; window.shouldZoomOut = true;</script> |
| 18 <script src="../../../fast/repaint/resources/repaint.js"></script> | 18 <script src="../../../fast/repaint/resources/text-based-repaint.js"></script> |
| 19 <script src="../resources/testPageZoom.js"></script> | 19 <script src="../resources/testPageZoom.js"></script> |
| 20 </body> | 20 </body> |
| 21 </html> | 21 </html> |
| OLD | NEW |