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

Unified Diff: LayoutTests/svg/dom/SVGPathSegList-insertItemBefore-expected.txt

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-insertItemBefore-expected.txt
diff --git a/LayoutTests/svg/dom/SVGPathSegList-insertItemBefore-expected.txt b/LayoutTests/svg/dom/SVGPathSegList-insertItemBefore-expected.txt
index ca43b3de6c8a9cff34f2fff1be069e902fc29017..8a3a6fd53802031fb2a957c6032f6266050522be 100644
--- a/LayoutTests/svg/dom/SVGPathSegList-insertItemBefore-expected.txt
+++ b/LayoutTests/svg/dom/SVGPathSegList-insertItemBefore-expected.txt
@@ -21,9 +21,28 @@ PASS path1.pathSegList.getItem(3).y is 100
Insert fourth item at position three using insertItemBefore()
PASS path1.pathSegList.insertItemBefore(path1.pathSegList.getItem(3), 2).toString() is "[object SVGPathSegLinetoAbs]"
+PASS path1.pathSegList.numberOfItems is 5
+PASS path1.pathSegList.getItem(0).toString() is "[object SVGPathSegMovetoAbs]"
+PASS path1.pathSegList.getItem(0).x is 0
+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).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(4).toString() is "[object SVGPathSegLinetoAbs]"
+PASS path1.pathSegList.getItem(4).x is 100
+PASS path1.pathSegList.getItem(4).y is 100
+
+Change last item of path1 list
+PASS path1.pathSegList.getItem(4).x = 0 is 0
Check final 'pathSegList' value of path1
-PASS path1.pathSegList.numberOfItems is 4
+PASS path1.pathSegList.numberOfItems is 5
PASS path1.pathSegList.getItem(0).toString() is "[object SVGPathSegMovetoAbs]"
PASS path1.pathSegList.getItem(0).x is 0
PASS path1.pathSegList.getItem(0).y is 0
@@ -36,6 +55,9 @@ 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(4).toString() is "[object SVGPathSegLinetoAbs]"
+PASS path1.pathSegList.getItem(4).x is 0
+PASS path1.pathSegList.getItem(4).y is 100
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/svg/dom/SVGPathSegList-insertItemBefore.xhtml ('k') | LayoutTests/svg/dom/SVGPathSegList-replaceItem.xhtml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698