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="../../fast/js/resources/js-test-pre.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"/> |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 shouldBe("path2.pathSegList.getItem(0).y", "0"); | 88 shouldBe("path2.pathSegList.getItem(0).y", "0"); |
89 shouldBeEqualToString("path2.pathSegList.getItem(1).toString()", "[object SV
GPathSegLinetoHorizontalRel]"); | 89 shouldBeEqualToString("path2.pathSegList.getItem(1).toString()", "[object SV
GPathSegLinetoHorizontalRel]"); |
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 <script src="../../fast/js/resources/js-test-post.js"></script> | |
99 </body> | 98 </body> |
100 </html> | 99 </html> |
OLD | NEW |