Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(210)

Unified Diff: LayoutTests/svg/dom/SVGPathSegList-clear-and-initialize.xhtml

Issue 1177303004: Updated SVGListPropertyHelper as per SVG2 Spec (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fixed presubmit error Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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");

Powered by Google App Engine
This is Rietveld 408576698