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 100 100 L 100 0 L 100 100" fill="green"/> | 9 <path id="path1" d="M 100 100 L 100 0 L 100 100" fill="green"/> |
10 <path transform="translate(110, 0)" id="path2" d="M 50 50 L 0 100 M 0 0"
fill="green"/> | 10 <path transform="translate(110, 0)" id="path2" d="M 50 50 L 0 100 M 0 0"
fill="green"/> |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 | 116 |
117 debug(""); | 117 debug(""); |
118 debug("Check final list state of path2"); | 118 debug("Check final list state of path2"); |
119 shouldBe("path2.pathSegList.numberOfItems", "1"); | 119 shouldBe("path2.pathSegList.numberOfItems", "1"); |
120 shouldBeEqualToString("path2.pathSegList.getItem(0).toString()", "[object SV
GPathSegMovetoAbs]"); | 120 shouldBeEqualToString("path2.pathSegList.getItem(0).toString()", "[object SV
GPathSegMovetoAbs]"); |
121 shouldBe("path2.pathSegList.getItem(0).x", "150"); | 121 shouldBe("path2.pathSegList.getItem(0).x", "150"); |
122 shouldBe("path2.pathSegList.getItem(0).y", "150"); | 122 shouldBe("path2.pathSegList.getItem(0).y", "150"); |
123 | 123 |
124 ]]> | 124 ]]> |
125 </script> | 125 </script> |
126 <script src="../../fast/js/resources/js-test-post.js"></script> | |
127 </body> | 126 </body> |
128 </html> | 127 </html> |
OLD | NEW |