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

Unified Diff: third_party/WebKit/LayoutTests/svg/dom/SVGPathSegList-replaceItem-expected.txt

Issue 1416273002: Remove SVGPathElement.pathSegList and related interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 2 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: third_party/WebKit/LayoutTests/svg/dom/SVGPathSegList-replaceItem-expected.txt
diff --git a/third_party/WebKit/LayoutTests/svg/dom/SVGPathSegList-replaceItem-expected.txt b/third_party/WebKit/LayoutTests/svg/dom/SVGPathSegList-replaceItem-expected.txt
deleted file mode 100644
index 5cfac6cddef4b3d9789251beed450e199ce00174..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/svg/dom/SVGPathSegList-replaceItem-expected.txt
+++ /dev/null
@@ -1,79 +0,0 @@
-This is a test of the SVGPathSegList::replaceItem() API.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-
-Check initial 'pathSegList' value of path1
-PASS path1.pathSegList.numberOfItems is 6
-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 100
-PASS path1.pathSegList.getItem(2).toString() is "[object SVGPathSegLinetoAbs]"
-PASS path1.pathSegList.getItem(2).x is 100
-PASS path1.pathSegList.getItem(2).y is 0
-PASS path1.pathSegList.getItem(3).toString() is "[object SVGPathSegLinetoAbs]"
-PASS path1.pathSegList.getItem(3).x is 100
-PASS path1.pathSegList.getItem(3).y is 100
-PASS path1.pathSegList.getItem(4).toString() is "[object SVGPathSegLinetoVerticalRel]"
-PASS path1.pathSegList.getItem(4).y is 100
-PASS path1.pathSegList.getItem(5).toString() is "[object SVGPathSegLinetoAbs]"
-PASS path1.pathSegList.getItem(5).x is 0
-PASS path1.pathSegList.getItem(5).y is 100
-
-Check initial 'pathSegList' value of path2
-PASS path2.pathSegList.numberOfItems is 4
-PASS path2.pathSegList.getItem(0).toString() is "[object SVGPathSegMovetoAbs]"
-PASS path2.pathSegList.getItem(0).x is 0
-PASS path2.pathSegList.getItem(0).y is 0
-PASS path2.pathSegList.getItem(1).toString() is "[object SVGPathSegLinetoHorizontalRel]"
-PASS path2.pathSegList.getItem(1).x is 100
-PASS path2.pathSegList.getItem(2).toString() is "[object SVGPathSegLinetoAbs]"
-PASS path2.pathSegList.getItem(2).x is 200
-PASS path2.pathSegList.getItem(2).y is 100
-PASS path2.pathSegList.getItem(3).toString() is "[object SVGPathSegLinetoHorizontalRel]"
-PASS path2.pathSegList.getItem(3).x is -100
-
-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(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
-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 SVGPathSegLinetoVerticalRel]"
-PASS path1.pathSegList.getItem(2).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
-PASS path2.pathSegList.getItem(0).toString() is "[object SVGPathSegMovetoAbs]"
-PASS path2.pathSegList.getItem(0).x is 0
-PASS path2.pathSegList.getItem(0).y is 0
-PASS path2.pathSegList.getItem(1).toString() is "[object SVGPathSegLinetoHorizontalRel]"
-PASS path2.pathSegList.getItem(1).x is 100
-PASS path2.pathSegList.getItem(2).toString() is "[object SVGPathSegLinetoVerticalRel]"
-PASS path2.pathSegList.getItem(2).y is 100
-PASS path2.pathSegList.getItem(3).toString() is "[object SVGPathSegLinetoHorizontalRel]"
-PASS path2.pathSegList.getItem(3).x is -100
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Powered by Google App Engine
This is Rietveld 408576698