1 <html xmlns=
"http://www.w3.org/1999/xhtml">
3 https://bugzilla.mozilla.org/show_bug.cgi?id=643419
6 <title>Test getPointAtLength
</title>
7 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
8 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css" />
11 <script class=
"testbody" type=
"text/javascript">
14 SimpleTest.waitForExplicitFinish();
17 var p1 = document.getElementById(
"p1");
18 var point = p1.getPointAtLength(
200);
22 // set the pathLength to twice its actual length
23 // and check that makes no difference
24 p1.setAttribute(
"pathLength",
"800");
25 point = p1.getPointAtLength(
200);
32 window.addEventListener(
"load", run);
35 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=643419">Mozilla Bug
643419</a>
39 <svg xmlns=
"http://www.w3.org/2000/svg" width=
"750">
41 <path id=
"p1" d=
"M 0 50 h 400"/>