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 type=
"text/javascript" 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();
18 var p1 = document.getElementById(
"p1");
19 var point = p1.getPointAtLength(
200);
23 // set the pathLength to twice its actual length
24 p1.setAttribute(
"pathLength",
"800");
25 var point = p1.getPointAtLength(
200);
32 window.addEventListener(
"load", run, false);
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"/>