| 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 0 L 100 100" fill="green"/> | 9 <path id="path1" d="M 0 0 L 100 0 L 100 100" fill="green"/> |
| 10 <path transform="translate(110, 0)" id="path2" d="M 0 0 L 50 100 h 100 h
100 v 100" fill="green"/> | 10 <path transform="translate(110, 0)" id="path2" d="M 0 0 L 50 100 h 100 h
100 v 100" fill="green"/> |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 shouldBe("path2.pathSegList.getItem(0).y", "0"); | 90 shouldBe("path2.pathSegList.getItem(0).y", "0"); |
| 91 shouldBeEqualToString("path2.pathSegList.getItem(1).toString()", "[object SV
GPathSegLinetoHorizontalRel]"); | 91 shouldBeEqualToString("path2.pathSegList.getItem(1).toString()", "[object SV
GPathSegLinetoHorizontalRel]"); |
| 92 shouldBe("path2.pathSegList.getItem(1).x", "100"); | 92 shouldBe("path2.pathSegList.getItem(1).x", "100"); |
| 93 shouldBeEqualToString("path2.pathSegList.getItem(2).toString()", "[object SV
GPathSegLinetoVerticalRel]"); | 93 shouldBeEqualToString("path2.pathSegList.getItem(2).toString()", "[object SV
GPathSegLinetoVerticalRel]"); |
| 94 shouldBe("path2.pathSegList.getItem(2).y", "100"); | 94 shouldBe("path2.pathSegList.getItem(2).y", "100"); |
| 95 shouldBeEqualToString("path2.pathSegList.getItem(3).toString()", "[object SV
GPathSegLinetoHorizontalRel]"); | 95 shouldBeEqualToString("path2.pathSegList.getItem(3).toString()", "[object SV
GPathSegLinetoHorizontalRel]"); |
| 96 shouldBe("path2.pathSegList.getItem(3).x", "-100"); | 96 shouldBe("path2.pathSegList.getItem(3).x", "-100"); |
| 97 | 97 |
| 98 ]]> | 98 ]]> |
| 99 </script> | 99 </script> |
| 100 <script src="../../fast/js/resources/js-test-post.js"></script> | |
| 101 </body> | 100 </body> |
| 102 </html> | 101 </html> |
| OLD | NEW |