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

Unified Diff: LayoutTests/svg/dom/SVGPathSegList-insertItemBefore.xhtml

Issue 1177303004: Updated SVGListPropertyHelper as per SVG2 Spec (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: small nits 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-insertItemBefore.xhtml
diff --git a/LayoutTests/svg/dom/SVGPathSegList-insertItemBefore.xhtml b/LayoutTests/svg/dom/SVGPathSegList-insertItemBefore.xhtml
index 315ad272b5923ba78f8c249acf0fe2ad132b553d..b80e6015fcaf5182745fa6e1b2812e91170842bb 100644
--- a/LayoutTests/svg/dom/SVGPathSegList-insertItemBefore.xhtml
+++ b/LayoutTests/svg/dom/SVGPathSegList-insertItemBefore.xhtml
@@ -41,7 +41,7 @@
debug("");
debug("Check final 'pathSegList' value of path1");
- shouldBe("path1.pathSegList.numberOfItems", "4");
+ shouldBe("path1.pathSegList.numberOfItems", "5");
shouldBeEqualToString("path1.pathSegList.getItem(0).toString()", "[object SVGPathSegMovetoAbs]");
shouldBe("path1.pathSegList.getItem(0).x", "0");
shouldBe("path1.pathSegList.getItem(0).y", "0");
@@ -54,6 +54,9 @@
shouldBeEqualToString("path1.pathSegList.getItem(3).toString()", "[object SVGPathSegLinetoAbs]");
shouldBe("path1.pathSegList.getItem(3).x", "0");
shouldBe("path1.pathSegList.getItem(3).y", "100");
+ shouldBeEqualToString("path1.pathSegList.getItem(4).toString()", "[object SVGPathSegLinetoAbs]");
+ shouldBe("path1.pathSegList.getItem(4).x", "100");
+ shouldBe("path1.pathSegList.getItem(4).y", "100");
]]>
</script>

Powered by Google App Engine
This is Rietveld 408576698