Index: LayoutTests/svg/dom/SVGPathSegList-clear-and-initialize.xhtml |
diff --git a/LayoutTests/svg/dom/SVGPathSegList-clear-and-initialize.xhtml b/LayoutTests/svg/dom/SVGPathSegList-clear-and-initialize.xhtml |
index c461924524d68d6763d67ed60d7f392d2773bf75..46a5c70c13d31e17f37f2e7fefb77ffedd390e6f 100644 |
--- a/LayoutTests/svg/dom/SVGPathSegList-clear-and-initialize.xhtml |
+++ b/LayoutTests/svg/dom/SVGPathSegList-clear-and-initialize.xhtml |
@@ -95,13 +95,16 @@ |
debug(""); |
debug("Check intermediate list state of path2"); |
- shouldBe("path2.pathSegList.numberOfItems", "2"); |
- shouldBeEqualToString("path2.pathSegList.getItem(0).toString()", "[object SVGPathSegLinetoAbs]"); |
- shouldBe("path2.pathSegList.getItem(0).x", "0"); |
- shouldBe("path2.pathSegList.getItem(0).y", "100"); |
- shouldBeEqualToString("path2.pathSegList.getItem(1).toString()", "[object SVGPathSegMovetoAbs]"); |
+ shouldBe("path2.pathSegList.numberOfItems", "3"); |
+ shouldBeEqualToString("path2.pathSegList.getItem(0).toString()", "[object SVGPathSegMovetoAbs]"); |
+ shouldBe("path2.pathSegList.getItem(0).x", "50"); |
+ shouldBe("path2.pathSegList.getItem(0).y", "50"); |
+ shouldBeEqualToString("path2.pathSegList.getItem(1).toString()", "[object SVGPathSegLinetoAbs]"); |
shouldBe("path2.pathSegList.getItem(1).x", "0"); |
- shouldBe("path2.pathSegList.getItem(1).y", "0"); |
+ shouldBe("path2.pathSegList.getItem(1).y", "100"); |
+ shouldBeEqualToString("path2.pathSegList.getItem(2).toString()", "[object SVGPathSegMovetoAbs]"); |
+ shouldBe("path2.pathSegList.getItem(2).x", "0"); |
+ shouldBe("path2.pathSegList.getItem(2).y", "0"); |
debug(""); |
debug("Initialize path2 list with item0"); |