Index: LayoutTests/svg/dom/SVGPathSegList-replaceItem-expected.txt |
diff --git a/LayoutTests/svg/dom/SVGPathSegList-replaceItem-expected.txt b/LayoutTests/svg/dom/SVGPathSegList-replaceItem-expected.txt |
index 6b982aacfc7037ddf85aaffb5005ebf54fbdea38..5cfac6cddef4b3d9789251beed450e199ce00174 100644 |
--- a/LayoutTests/svg/dom/SVGPathSegList-replaceItem-expected.txt |
+++ b/LayoutTests/svg/dom/SVGPathSegList-replaceItem-expected.txt |
@@ -41,7 +41,13 @@ Replace second item with third item of path1 |
PASS path1.pathSegList.replaceItem(path1.pathSegList.getItem(2), 1).toString() is "[object SVGPathSegLinetoAbs]" |
Replace third item of path2 with fourth item of path1 |
-PASS path2.pathSegList.replaceItem(path1.pathSegList.getItem(3), 2).toString() is "[object SVGPathSegLinetoVerticalRel]" |
+PASS path2.pathSegList.replaceItem(path1.pathSegList.getItem(4), 2).toString() is "[object SVGPathSegLinetoVerticalRel]" |
+ |
+Reset points attribute to M 0 0 L 100 0 v 100 |
+PASS path1.setAttribute('d', 'M 0 0 L 100 0 v 100 h 100') is undefined. |
+ |
+Replace fourth item of path1 with third item of path2 |
+PASS path1.pathSegList.replaceItem(path2.pathSegList.getItem(3), 3).toString() is "[object SVGPathSegLinetoHorizontalRel]" |
Check final 'pathSegList' value of path1 |
PASS path1.pathSegList.numberOfItems is 4 |
@@ -51,12 +57,10 @@ PASS path1.pathSegList.getItem(0).y is 0 |
PASS path1.pathSegList.getItem(1).toString() is "[object SVGPathSegLinetoAbs]" |
PASS path1.pathSegList.getItem(1).x is 100 |
PASS path1.pathSegList.getItem(1).y is 0 |
-PASS path1.pathSegList.getItem(2).toString() is "[object SVGPathSegLinetoAbs]" |
-PASS path1.pathSegList.getItem(2).x is 100 |
+PASS path1.pathSegList.getItem(2).toString() is "[object SVGPathSegLinetoVerticalRel]" |
PASS path1.pathSegList.getItem(2).y is 100 |
-PASS path1.pathSegList.getItem(3).toString() is "[object SVGPathSegLinetoAbs]" |
-PASS path1.pathSegList.getItem(3).x is 0 |
-PASS path1.pathSegList.getItem(3).y is 100 |
+PASS path1.pathSegList.getItem(3).toString() is "[object SVGPathSegLinetoHorizontalRel]" |
+PASS path1.pathSegList.getItem(3).x is -100 |
Check final 'pathSegList' value of path2 |
PASS path2.pathSegList.numberOfItems is 4 |