OLD | NEW |
---|---|
(Empty) | |
1 <svg width="620" height="450" viewBox="0 0 800 600" xmlns="http://www.w3.org/200 0/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runTest()"> | |
2 <script> | |
3 <![CDATA[ | |
4 function runTest() { | |
5 document.getElementById('first').setAttribute("transform ", "translate(241.0859375, -21)scale(0, 1)translate(-241.0859375, 21)"); | |
Stephen Chennney
2014/03/19 12:11:05
Is there anything special about the 241.0859375 va
Erik Dahlström (inactive)
2014/03/19 14:00:10
This came from script-generated content, the trans
| |
6 document.getElementById('second').setAttribute("transfor m", "translate(241.0859375, -21)scale(0, 1)translate(-241.0859375, 21)"); | |
7 } | |
8 ]]> | |
9 </script> | |
10 | |
11 <g id="textGroup" transform="translate(70,300)" font-family="sans-serif" font-size="60" text-rendering="geometricPrecision"> | |
12 <rect x="254" width="1" height="1"/> | |
13 <text id="first" x="197.7978515625" y="0" fill="red">s</text> | |
14 <text id="second" x="229.0576171875" y="0" fill="red">!</text> | |
15 </g> | |
16 </svg> | |
OLD | NEW |