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 100 L 100 0 L 100 100 v 100 L 0 100" fil
l="green"/> | 9 <path id="path1" d="M 0 0 L 100 100 L 100 0 L 100 100 v 100 L 0 100" fil
l="green"/> |
10 <path transform="translate(110, 0)" id="path2" d="M 0 0 h 100 L 200 100
h -100" fill="green"/> | 10 <path transform="translate(110, 0)" id="path2" d="M 0 0 h 100 L 200 100
h -100" fill="green"/> |
11 </g> | 11 </g> |
12 </svg> | 12 </svg> |
13 | 13 |
14 <p id="description"></p> | 14 <p id="description"></p> |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 shouldBe("path2.pathSegList.getItem(1).x", "100"); | 90 shouldBe("path2.pathSegList.getItem(1).x", "100"); |
91 shouldBeEqualToString("path2.pathSegList.getItem(2).toString()", "[object SV
GPathSegLinetoVerticalRel]"); | 91 shouldBeEqualToString("path2.pathSegList.getItem(2).toString()", "[object SV
GPathSegLinetoVerticalRel]"); |
92 shouldBe("path2.pathSegList.getItem(2).y", "100"); | 92 shouldBe("path2.pathSegList.getItem(2).y", "100"); |
93 shouldBeEqualToString("path2.pathSegList.getItem(3).toString()", "[object SV
GPathSegLinetoHorizontalRel]"); | 93 shouldBeEqualToString("path2.pathSegList.getItem(3).toString()", "[object SV
GPathSegLinetoHorizontalRel]"); |
94 shouldBe("path2.pathSegList.getItem(3).x", "-100"); | 94 shouldBe("path2.pathSegList.getItem(3).x", "-100"); |
95 | 95 |
96 ]]> | 96 ]]> |
97 </script> | 97 </script> |
98 </body> | 98 </body> |
99 </html> | 99 </html> |
OLD | NEW |