<svg xmlns="http://www.w3.org/2000/svg"> | |
<text x="10" y="30">Test passes if it does not crash.</text> | |
<script> | |
<![CDATA[ | |
if (window.testRunner) | |
testRunner.dumpAsText(); | |
var path = document.createElementNS("http://www.w3.org/2000/svg", "path"); | |
path.setAttribute("d", "M0,0 C-1.227687,-4089196561.699610 -2172808631,.990756267 -764285429.594597,-4016805151.510674"); | |
path.getTotalLength(); | |
]]> | |
</script> | |
</svg> |