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

Unified Diff: third_party/WebKit/LayoutTests/svg/animations/animate-path-animation-lL-vV-hH-inverse-expected.txt

Issue 1417593003: Use getAttribute in path animation tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/animations/animate-path-animation-lL-vV-hH-inverse-expected.txt
diff --git a/third_party/WebKit/LayoutTests/svg/animations/animate-path-animation-lL-vV-hH-inverse-expected.txt b/third_party/WebKit/LayoutTests/svg/animations/animate-path-animation-lL-vV-hH-inverse-expected.txt
index 4ee3fb8824e897b6c01aa398d6f4de67db44469e..833d9a5ce0dcec3e2ea1bc041782c91923e18c37 100644
--- a/third_party/WebKit/LayoutTests/svg/animations/animate-path-animation-lL-vV-hH-inverse-expected.txt
+++ b/third_party/WebKit/LayoutTests/svg/animations/animate-path-animation-lL-vV-hH-inverse-expected.txt
@@ -6,125 +6,11 @@ Test path animation where coordinate modes of start and end differ. You should s
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS path.animatedPathSegList.numberOfItems is 5
-PASS path.animatedPathSegList.getItem(0).pathSegTypeAsLetter is "M"
-PASS path.animatedPathSegList.getItem(0).x is 30
-PASS path.animatedPathSegList.getItem(0).y is 30
-PASS path.animatedPathSegList.getItem(1).pathSegTypeAsLetter is "l"
-PASS path.animatedPathSegList.getItem(1).x is -60
-PASS path.animatedPathSegList.getItem(1).y is -30
-PASS path.animatedPathSegList.getItem(2).pathSegTypeAsLetter is "v"
-PASS path.animatedPathSegList.getItem(2).y is -30
-PASS path.animatedPathSegList.getItem(3).pathSegTypeAsLetter is "h"
-PASS path.animatedPathSegList.getItem(3).x is 30
-PASS path.animatedPathSegList.getItem(4).pathSegTypeAsLetter is "Z"
-PASS path.pathSegList.numberOfItems is 5
-PASS path.pathSegList.getItem(0).pathSegTypeAsLetter is "M"
-PASS path.pathSegList.getItem(0).x is 30
-PASS path.pathSegList.getItem(0).y is 30
-PASS path.pathSegList.getItem(1).pathSegTypeAsLetter is "l"
-PASS path.pathSegList.getItem(1).x is -60
-PASS path.pathSegList.getItem(1).y is -30
-PASS path.pathSegList.getItem(2).pathSegTypeAsLetter is "v"
-PASS path.pathSegList.getItem(2).y is -30
-PASS path.pathSegList.getItem(3).pathSegTypeAsLetter is "h"
-PASS path.pathSegList.getItem(3).x is 30
-PASS path.pathSegList.getItem(4).pathSegTypeAsLetter is "Z"
-PASS path.animatedPathSegList.numberOfItems is 5
-PASS path.animatedPathSegList.getItem(0).pathSegTypeAsLetter is "M"
-PASS path.animatedPathSegList.getItem(0).x is 15
-PASS path.animatedPathSegList.getItem(0).y is 15
-PASS path.animatedPathSegList.getItem(1).pathSegTypeAsLetter is "l"
-PASS path.animatedPathSegList.getItem(1).x is -30
-PASS path.animatedPathSegList.getItem(1).y is -15
-PASS path.animatedPathSegList.getItem(2).pathSegTypeAsLetter is "v"
-PASS path.animatedPathSegList.getItem(2).y is -15
-PASS path.animatedPathSegList.getItem(3).pathSegTypeAsLetter is "h"
-PASS path.animatedPathSegList.getItem(3).x is 15
-PASS path.animatedPathSegList.getItem(4).pathSegTypeAsLetter is "Z"
-PASS path.pathSegList.numberOfItems is 5
-PASS path.pathSegList.getItem(0).pathSegTypeAsLetter is "M"
-PASS path.pathSegList.getItem(0).x is 30
-PASS path.pathSegList.getItem(0).y is 30
-PASS path.pathSegList.getItem(1).pathSegTypeAsLetter is "l"
-PASS path.pathSegList.getItem(1).x is -60
-PASS path.pathSegList.getItem(1).y is -30
-PASS path.pathSegList.getItem(2).pathSegTypeAsLetter is "v"
-PASS path.pathSegList.getItem(2).y is -30
-PASS path.pathSegList.getItem(3).pathSegTypeAsLetter is "h"
-PASS path.pathSegList.getItem(3).x is 30
-PASS path.pathSegList.getItem(4).pathSegTypeAsLetter is "Z"
-PASS path.animatedPathSegList.numberOfItems is 5
-PASS path.animatedPathSegList.getItem(0).pathSegTypeAsLetter is "M"
-PASS path.animatedPathSegList.getItem(0).x is -15
-PASS path.animatedPathSegList.getItem(0).y is -15
-PASS path.animatedPathSegList.getItem(1).pathSegTypeAsLetter is "L"
-PASS path.animatedPathSegList.getItem(1).x is 15
-PASS path.animatedPathSegList.getItem(1).y is 0
-PASS path.animatedPathSegList.getItem(2).pathSegTypeAsLetter is "V"
-PASS path.animatedPathSegList.getItem(2).y is 15
-PASS path.animatedPathSegList.getItem(3).pathSegTypeAsLetter is "H"
-PASS path.animatedPathSegList.getItem(3).x is 0
-PASS path.animatedPathSegList.getItem(4).pathSegTypeAsLetter is "Z"
-PASS path.pathSegList.numberOfItems is 5
-PASS path.pathSegList.getItem(0).pathSegTypeAsLetter is "M"
-PASS path.pathSegList.getItem(0).x is 30
-PASS path.pathSegList.getItem(0).y is 30
-PASS path.pathSegList.getItem(1).pathSegTypeAsLetter is "l"
-PASS path.pathSegList.getItem(1).x is -60
-PASS path.pathSegList.getItem(1).y is -30
-PASS path.pathSegList.getItem(2).pathSegTypeAsLetter is "v"
-PASS path.pathSegList.getItem(2).y is -30
-PASS path.pathSegList.getItem(3).pathSegTypeAsLetter is "h"
-PASS path.pathSegList.getItem(3).x is 30
-PASS path.pathSegList.getItem(4).pathSegTypeAsLetter is "Z"
-PASS path.animatedPathSegList.numberOfItems is 5
-PASS path.animatedPathSegList.getItem(0).pathSegTypeAsLetter is "M"
-PASS path.animatedPathSegList.getItem(0).x is -30
-PASS path.animatedPathSegList.getItem(0).y is -30
-PASS path.animatedPathSegList.getItem(1).pathSegTypeAsLetter is "L"
-PASS path.animatedPathSegList.getItem(1).x is 30
-PASS path.animatedPathSegList.getItem(1).y is 0
-PASS path.animatedPathSegList.getItem(2).pathSegTypeAsLetter is "V"
-PASS path.animatedPathSegList.getItem(2).y is 30
-PASS path.animatedPathSegList.getItem(3).pathSegTypeAsLetter is "H"
-PASS path.animatedPathSegList.getItem(3).x is 0
-PASS path.pathSegList.numberOfItems is 5
-PASS path.pathSegList.getItem(0).pathSegTypeAsLetter is "M"
-PASS path.pathSegList.getItem(0).x is 30
-PASS path.pathSegList.getItem(0).y is 30
-PASS path.pathSegList.getItem(1).pathSegTypeAsLetter is "l"
-PASS path.pathSegList.getItem(1).x is -60
-PASS path.pathSegList.getItem(1).y is -30
-PASS path.pathSegList.getItem(2).pathSegTypeAsLetter is "v"
-PASS path.pathSegList.getItem(2).y is -30
-PASS path.pathSegList.getItem(3).pathSegTypeAsLetter is "h"
-PASS path.pathSegList.getItem(3).x is 30
-PASS path.pathSegList.getItem(4).pathSegTypeAsLetter is "Z"
-PASS path.animatedPathSegList.numberOfItems is 5
-PASS path.animatedPathSegList.getItem(0).pathSegTypeAsLetter is "M"
-PASS path.animatedPathSegList.getItem(0).x is 30
-PASS path.animatedPathSegList.getItem(0).y is 30
-PASS path.animatedPathSegList.getItem(1).pathSegTypeAsLetter is "l"
-PASS path.animatedPathSegList.getItem(1).x is -60
-PASS path.animatedPathSegList.getItem(1).y is -30
-PASS path.animatedPathSegList.getItem(2).pathSegTypeAsLetter is "v"
-PASS path.animatedPathSegList.getItem(2).y is -30
-PASS path.animatedPathSegList.getItem(3).pathSegTypeAsLetter is "h"
-PASS path.animatedPathSegList.getItem(3).x is 30
-PASS path.animatedPathSegList.getItem(4).pathSegTypeAsLetter is "Z"
-PASS path.pathSegList.numberOfItems is 5
-PASS path.pathSegList.getItem(0).pathSegTypeAsLetter is "M"
-PASS path.pathSegList.getItem(0).x is 30
-PASS path.pathSegList.getItem(0).y is 30
-PASS path.pathSegList.getItem(1).pathSegTypeAsLetter is "l"
-PASS path.pathSegList.getItem(1).x is -60
-PASS path.pathSegList.getItem(1).y is -30
-PASS path.pathSegList.getItem(2).pathSegTypeAsLetter is "v"
-PASS path.pathSegList.getItem(2).y is -30
-PASS path.pathSegList.getItem(3).pathSegTypeAsLetter is "h"
-PASS path.pathSegList.getItem(3).x is 30
-PASS path.pathSegList.getItem(4).pathSegTypeAsLetter is "Z"
+PASS path.getAttribute('d') is "M 30 30 l -60 -30 v -30 h 30 Z"
+PASS path.getAttribute('d') is "M 15 15 l -30 -15 v -15 h 15 Z"
+PASS path.getAttribute('d') is "M -15 -15 L 15 0 V 15 H 0 Z"
+PASS path.getAttribute('d') is "M -29.985 -29.985 L 29.985 0 V 29.985 H 0 Z"
+PASS path.getAttribute('d') is "M 30 30 l -60 -30 v -30 h 30 Z"
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698