| OLD | NEW |
| 1 <html xmlns="http://www.w3.org/1999/xhtml"> | 1 <html xmlns="http://www.w3.org/1999/xhtml"> |
| 2 <head> | 2 <head> |
| 3 <script src="../../fast/repaint/resources/repaint.js" type="text/javascript"></s
cript> | 3 <script src="../../fast/repaint/resources/text-based-repaint.js" type="text/java
script"></script> |
| 4 <script type="text/javascript"> | 4 <script type="text/javascript"> |
| 5 function repaintTest() { | 5 function repaintTest() { |
| 6 document.getElementById("contentBox").style.setProperty("width", "600px"); | 6 document.getElementById("contentBox").style.setProperty("width", "600px"); |
| 7 } | 7 } |
| 8 </script> | 8 </script> |
| 9 <style> | 9 <style> |
| 10 img, div { | 10 img, div { |
| 11 width: 420px; | 11 width: 420px; |
| 12 height: 420px; | 12 height: 420px; |
| 13 } | 13 } |
| 14 div { | 14 div { |
| 15 border: red 1px solid; | 15 border: red 1px solid; |
| 16 } | 16 } |
| 17 </style> | 17 </style> |
| 18 </head> | 18 </head> |
| 19 <body onload="runRepaintTest()"> | 19 <body onload="runRepaintAndPixelTest()"> |
| 20 <p>The svg image contained in the div element (red box) should not change it
s appearance when width is resized to be larger</p> | 20 <p>The svg image contained in the div element (red box) should not change it
s appearance when width is resized to be larger</p> |
| 21 <div id="contentBox"> | 21 <div id="contentBox"> |
| 22 <img src="../as-background-image/resources/butterfly.svg"/> | 22 <img src="../as-background-image/resources/butterfly.svg"/> |
| 23 </div> | 23 </div> |
| 24 </body> | 24 </body> |
| 25 </html> | 25 </html> |
| OLD | NEW |