Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / path-getTotalLength-on-big-segment-crash.svg
blobe259bc984e8555e837ed6edc25c65f28ab6fb8df
1 <svg xmlns="http://www.w3.org/2000/svg">
2 <text x="10" y="30">Test passes if it does not crash.</text>
3 <script>
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)
15 testRunner.dumpAsText();
17 ]]>
18 </script>
19 </svg>