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 <style> | 3 <style> |
4 body { | 4 body { |
5 padding: 0px; | 5 padding: 0px; |
6 margin: 0px; | 6 margin: 0px; |
7 } | 7 } |
8 | 8 |
9 #svgRoot { | 9 #svgRoot { |
10 padding: 0px; | 10 padding: 0px; |
11 margin: 0px; | 11 margin: 0px; |
12 transform: translate(50%, 50%); | 12 transform: translate(50%, 50%); |
13 } | 13 } |
14 </style> | 14 </style> |
15 </head> | 15 </head> |
16 | 16 |
17 <body> | 17 <body> |
18 <!--This test verifies that transformed SVG elements are positioned properly
.--> | 18 <!--This test verifies that transformed SVG elements are positioned properly
.--> |
19 <svg id="svgRoot" width="400px" height="400px" viewBox="0 0 400 400" xmlns="
http://www.w3.org/2000/svg"> | 19 <svg id="svgRoot" width="400px" height="400px" viewBox="0 0 400 400" xmlns="
http://www.w3.org/2000/svg"> |
20 <circle id="circle" cx="100" cy="100" r="10"/> | 20 <circle id="circle" cx="100" cy="100" r="10"/> |
21 </svg> | 21 </svg> |
22 </body> | 22 </body> |
23 </html> | 23 </html> |
OLD | NEW |