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 </head> | 3 </head> |
4 <body style="margin:0; border:0; padding:0;" onload="runRepaintTest()"> | 4 <body style="margin:0; border:0; padding:0;" onload="forceStyleRecalc();repaintT
est();"> |
5 | 5 |
6 <div style="width:500px;height=100px"> | 6 <div style="width:500px;height=100px"> |
7 <svg xmlns="http://www.w3.org/2000/svg" version="1.1" | 7 <svg xmlns="http://www.w3.org/2000/svg" version="1.1" |
8 width="100px" height="100px"> | 8 width="100px" height="100px"> |
9 <rect id="r1" x="20" y="30" width="40" height="50" fill="blue" /> | 9 <rect id="r1" x="20" y="30" width="40" height="50" fill="blue" /> |
10 </svg><svg xmlns="http://www.w3.org/2000/svg" version="1.1" | 10 </svg><svg xmlns="http://www.w3.org/2000/svg" version="1.1" |
11 width="200px" height="100px" viewBox="0 0 50 200" | 11 width="200px" height="100px" viewBox="0 0 50 200" |
12 preserveAspectRatio="none"> | 12 preserveAspectRatio="none"> |
13 <rect id="r2" x="20" y="30" width="40" height="50" fill="green" /> | 13 <rect id="r2" x="20" y="30" width="40" height="50" fill="green" /> |
14 </svg><svg xmlns="http://www.w3.org/2000/svg" version="1.1" | 14 </svg><svg xmlns="http://www.w3.org/2000/svg" version="1.1" |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 if (window.testRunner) { | 71 if (window.testRunner) { |
72 testRunner.waitUntilDone(); | 72 testRunner.waitUntilDone(); |
73 window.postZoomCallback = executeTest; | 73 window.postZoomCallback = executeTest; |
74 } else { | 74 } else { |
75 debug("This test only works in DRT."); | 75 debug("This test only works in DRT."); |
76 } | 76 } |
77 </script> | 77 </script> |
78 | 78 |
79 <script src="../../../resources/js-test.js"></script> | 79 <script src="../../../resources/js-test.js"></script> |
80 <script>var zoomCount = 2;</script> | 80 <script>var zoomCount = 2;</script> |
81 <script src="../../../fast/repaint/resources/repaint.js"></script> | 81 <script src="../../../fast/repaint/resources/text-based-repaint.js"></script> |
82 <script src="../resources/testPageZoom.js"></script> | 82 <script src="../resources/testPageZoom.js"></script> |
83 | 83 |
84 </body> | 84 </body> |
85 </html> | 85 </html> |
OLD | NEW |