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"></script> | 3 <script src="../../fast/repaint/resources/repaint.js"></script> |
4 </head> | 4 </head> |
5 <body onload="runRepaintTest()"> | 5 <body onload="runRepaintTest()"> |
6 <p>The svg area contained in the div element (red box), should fill out the
whole area (blue rectangle), especially after resizing the content box to a diff
erent size</p> | 6 <p>The svg area contained in the div element (red box), should fill out the
whole area (blue rectangle), especially after resizing the content box to a diff
erent size</p> |
7 <div id="contentBox" style="width: 100px; height: 400px; border: 1px solid r
ed;"> | 7 <div id="contentBox" style="width: 100px; height: 400px; border: 1px solid r
ed;"> |
8 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1
999/xlink"> | 8 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1
999/xlink"> |
9 <image xlink:href="../W3C-SVG-1.1/resources/smiley.png" width="100%"
height="100%" preserveAspectRatio="none"/> | 9 <image xlink:href="../W3C-SVG-1.1/resources/smiley.png" width="100%"
height="100%" preserveAspectRatio="none"/> |
10 </svg> | 10 </svg> |
11 </div> | 11 </div> |
12 <script type="JavaScript"> | 12 <script> |
13 function repaintTest() { | 13 function repaintTest() { |
14 document.getElementById("contentBox").style.setProperty("width", "40
0px"); | 14 document.getElementById("contentBox").style.setProperty("width", "40
0px"); |
15 } | 15 } |
16 </script> | 16 </script> |
17 </body> | 17 </body> |
18 </html> | 18 </html> |
OLD | NEW |