OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>preserveAspectRatio test 1/2</title> | 4 <title>preserveAspectRatio test 1/2</title> |
5 <style> | 5 <style> |
6 th { | 6 th { |
7 background-color: #dd9; | 7 background-color: #dd9; |
8 font-family: sans-serif; | 8 font-family: sans-serif; |
9 } | 9 } |
10 | 10 |
11 img, object { | 11 img, object { |
12 /* background-color: #EBF; */ | 12 /* background-color: #EBF; */ |
13 border: 2px dashed maroon; | 13 border: 2px dashed maroon; |
14 height: 50px; | 14 height: 50px; |
15 left: 100px; | 15 left: 100px; |
16 overflow: visible; | 16 overflow: visible; |
17 padding: 3px; | 17 padding: 3px; |
18 top: 20px; | 18 top: 20px; |
19 width: 200px; | 19 width: 200px; |
20 box-sizing: border-box; | 20 box-sizing: border-box; |
21 } | 21 } |
22 | 22 |
23 object { | 23 object { |
24 border-color: green; | 24 border-color: green; |
25 border-width: 1px; | 25 border-width: 1px; |
26 } | 26 } |
27 </style> | 27 </style> |
28 </head> | 28 </head> |
29 <body onload="runRepaintTest()"> | 29 <body onload="forceStyleRecalc();repaintTest();"> |
30 <table> | 30 <table> |
31 <tr> | 31 <tr> |
32 <th> | 32 <th> |
33 viewBox? | 33 viewBox? |
34 </th> | 34 </th> |
35 <th> | 35 <th> |
36 preserve­Aspect­Ratio | 36 preserve­Aspect­Ratio |
37 </th> | 37 </th> |
38 <th> | 38 <th> |
39 <img> | 39 <img> |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 <td> | 130 <td> |
131 <img src="../../as-image/resources/circle-viewbox-slice.svg" /> | 131 <img src="../../as-image/resources/circle-viewbox-slice.svg" /> |
132 </td> | 132 </td> |
133 <td> | 133 <td> |
134 <object data="../../as-image/resources/circle-viewbox-slice.svg"
></object> | 134 <object data="../../as-image/resources/circle-viewbox-slice.svg"
></object> |
135 </td> | 135 </td> |
136 </tr> | 136 </tr> |
137 </table> | 137 </table> |
138 | 138 |
139 <script>var zoomCount = 2; window.shouldZoomOut = true;</script> | 139 <script>var zoomCount = 2; window.shouldZoomOut = true;</script> |
140 <script src="../../../fast/repaint/resources/repaint.js"></script> | 140 <script src="../../../fast/repaint/resources/text-based-repaint.js"></script
> |
141 <script src="../resources/testPageZoom.js"></script> | 141 <script src="../resources/testPageZoom.js"></script> |
142 </body> | 142 </body> |
143 </html> | 143 </html> |
OLD | NEW |