| OLD | NEW |
| 1 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xlink="http://www.w3.org/1999/x
link"> | 1 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xlink="http://www.w3.org/1999/x
link"> |
| 2 <head> | 2 <head> |
| 3 <style type="text/css"> | 3 <style type="text/css"> |
| 4 body { | 4 body { |
| 5 margin:0px; | 5 margin:0px; |
| 6 border:0px; | 6 border:0px; |
| 7 padding:0px; | 7 padding:0px; |
| 8 } | 8 } |
| 9 text { | 9 text { |
| 10 font: 12px Ahem; | 10 font: 12px Ahem; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 preserveAspectRatio="none"> | 40 preserveAspectRatio="none"> |
| 41 <rect id="rect3" x="0" y="0" width="100px" height="100px" fill="blue" /> | 41 <rect id="rect3" x="0" y="0" width="100px" height="100px" fill="blue" /> |
| 42 <image id="image3" x="100px" y="0" width="50px" height="50px" xlink:href="../s
vg/W3C-SVG-1.1/resources/magnify.png" /> | 42 <image id="image3" x="100px" y="0" width="50px" height="50px" xlink:href="../s
vg/W3C-SVG-1.1/resources/magnify.png" /> |
| 43 <text id="text3" x="100px" y="75px">Test</text> | 43 <text id="text3" x="100px" y="75px">Test</text> |
| 44 </svg> | 44 </svg> |
| 45 </div> | 45 </div> |
| 46 | 46 |
| 47 <div id="description"></div> | 47 <div id="description"></div> |
| 48 <div id="console"></div> | 48 <div id="console"></div> |
| 49 | 49 |
| 50 <script src="../fast/js/resources/js-test-pre.js"></script> | 50 <script src="../resources/js-test.js"></script> |
| 51 <script> | 51 <script> |
| 52 | 52 |
| 53 function msgDumpRenderTreeRequired() | 53 function msgDumpRenderTreeRequired() |
| 54 { | 54 { |
| 55 if (!window.testRunner) | 55 if (!window.testRunner) |
| 56 debug("The following tests may fail if not run in DumpRenderTree:"); | 56 debug("The following tests may fail if not run in DumpRenderTree:"); |
| 57 } | 57 } |
| 58 | 58 |
| 59 description("This test checks getBoundingClientRect() on zoomed HTML and SVG ele
ments"); | 59 description("This test checks getBoundingClientRect() on zoomed HTML and SVG ele
ments"); |
| 60 | 60 |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 shouldBeCloseTo('text3.height', 12, 1); | 187 shouldBeCloseTo('text3.height', 12, 1); |
| 188 shouldBeCloseTo('text3.right', 1192, 1); | 188 shouldBeCloseTo('text3.right', 1192, 1); |
| 189 shouldBeCloseTo('text3.bottom', 577, 1); | 189 shouldBeCloseTo('text3.bottom', 577, 1); |
| 190 debug(""); | 190 debug(""); |
| 191 | 191 |
| 192 | 192 |
| 193 </script> | 193 </script> |
| 194 | 194 |
| 195 </body> | 195 </body> |
| 196 </html> | 196 </html> |
| OLD | NEW |