OLD | NEW |
1 <html xmlns="http://www.w3.org/1999/xhtml"> | 1 <html xmlns="http://www.w3.org/1999/xhtml"> |
2 <head> | 2 <head> |
3 <script>window.enablePixelTesting = true;</script> | 3 <script>window.enablePixelTesting = true;</script> |
4 <script src="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <svg id="svg" xmlns="http://www.w3.org/2000/svg" width="250" height="250"> | 7 <svg id="svg" xmlns="http://www.w3.org/2000/svg" width="250" height="250"> |
8 <g transform="translate(10, 10)"> | 8 <g transform="translate(10, 10)"> |
9 <path id="path1" d="M 0 0 L 100 0 L 0 100 L 100 100" fill="green"/> | 9 <path id="path1" d="M 0 0 L 100 0 L 0 100 L 100 100" fill="green"/> |
10 </g> | 10 </g> |
11 </svg> | 11 </svg> |
12 | 12 |
13 <p id="description"></p> | 13 <p id="description"></p> |
14 <div id="console"></div> | 14 <div id="console"></div> |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 shouldBe("path1.pathSegList.getItem(2).x", "100"); | 52 shouldBe("path1.pathSegList.getItem(2).x", "100"); |
53 shouldBe("path1.pathSegList.getItem(2).y", "100"); | 53 shouldBe("path1.pathSegList.getItem(2).y", "100"); |
54 shouldBeEqualToString("path1.pathSegList.getItem(3).toString()", "[object SV
GPathSegLinetoAbs]"); | 54 shouldBeEqualToString("path1.pathSegList.getItem(3).toString()", "[object SV
GPathSegLinetoAbs]"); |
55 shouldBe("path1.pathSegList.getItem(3).x", "0"); | 55 shouldBe("path1.pathSegList.getItem(3).x", "0"); |
56 shouldBe("path1.pathSegList.getItem(3).y", "100"); | 56 shouldBe("path1.pathSegList.getItem(3).y", "100"); |
57 | 57 |
58 ]]> | 58 ]]> |
59 </script> | 59 </script> |
60 </body> | 60 </body> |
61 </html> | 61 </html> |
OLD | NEW |