| OLD | NEW |
| 1 <svg xmlns="http://www.w3.org/2000/svg"> | 1 <svg xmlns="http://www.w3.org/2000/svg"> |
| 2 <text x="10" y="30">Test passes if it does not crash.</text> | 2 <text x="10" y="30">Test passes if it does not crash.</text> |
| 3 <script> | 3 <script> |
| 4 <![CDATA[ | 4 <![CDATA[ |
| 5 var path = document.createElementNS("http://www.w3.org/2000/svg", "path"); | |
| 6 path.setAttribute("d", "M0,0"); | |
| 7 var x = -764285429.594597, y = -4016805151.510674, | |
| 8 x1 = -1.227687, y1 = -4089196561.699610, | |
| 9 x2 = -2172808631, y2 = .990756267; | |
| 10 pathSeg = path.createSVGPathSegCurvetoCubicAbs(x, y, x1 ,y1 ,x2 ,y2); | |
| 11 pathSegList = path.pathSegList; | |
| 12 pathSegList.appendItem(pathSeg); | |
| 13 path.getTotalLength(); | |
| 14 if (window.testRunner) | 5 if (window.testRunner) |
| 15 testRunner.dumpAsText(); | 6 testRunner.dumpAsText(); |
| 16 | 7 var path = document.createElementNS("http://www.w3.org/2000/svg", "path"); |
| 8 path.setAttribute("d", "M0,0 C-1.227687,-4089196561.699610 -2172808631,.9907
56267 -764285429.594597,-4016805151.510674"); |
| 9 path.getTotalLength(); |
| 17 ]]> | 10 ]]> |
| 18 </script> | 11 </script> |
| 19 </svg> | 12 </svg> |
| OLD | NEW |