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

Unified Diff: third_party/WebKit/LayoutTests/svg/animations/animate-path-to-animation-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-to-animation-expected.txt
diff --git a/third_party/WebKit/LayoutTests/svg/animations/animate-path-to-animation-expected.txt b/third_party/WebKit/LayoutTests/svg/animations/animate-path-to-animation-expected.txt
index 75f7282ed8281fb547bcf84c6c2aef82ccf38304..124085791f0298f0db9b3e563f28560c13d8b457 100644
--- a/third_party/WebKit/LayoutTests/svg/animations/animate-path-to-animation-expected.txt
+++ b/third_party/WebKit/LayoutTests/svg/animations/animate-path-to-animation-expected.txt
@@ -6,118 +6,10 @@ Test calcMode spline with to animation. You should see a green 100x100 path and
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 40
-PASS path.animatedPathSegList.getItem(0).y is 40
-PASS path.animatedPathSegList.getItem(1).pathSegTypeAsLetter is "L"
-PASS path.animatedPathSegList.getItem(1).x is 60
-PASS path.animatedPathSegList.getItem(1).y is 40
-PASS path.animatedPathSegList.getItem(2).pathSegTypeAsLetter is "L"
-PASS path.animatedPathSegList.getItem(2).x is 60
-PASS path.animatedPathSegList.getItem(2).y is 60
-PASS path.animatedPathSegList.getItem(3).pathSegTypeAsLetter is "L"
-PASS path.animatedPathSegList.getItem(3).x is 40
-PASS path.animatedPathSegList.getItem(3).y is 60
-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 40
-PASS path.pathSegList.getItem(0).y is 40
-PASS path.pathSegList.getItem(1).pathSegTypeAsLetter is "L"
-PASS path.pathSegList.getItem(1).x is 60
-PASS path.pathSegList.getItem(1).y is 40
-PASS path.pathSegList.getItem(2).pathSegTypeAsLetter is "L"
-PASS path.pathSegList.getItem(2).x is 60
-PASS path.pathSegList.getItem(2).y is 60
-PASS path.pathSegList.getItem(3).pathSegTypeAsLetter is "L"
-PASS path.pathSegList.getItem(3).x is 40
-PASS path.pathSegList.getItem(3).y is 60
-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 20
-PASS path.animatedPathSegList.getItem(0).y is 20
-PASS path.animatedPathSegList.getItem(1).pathSegTypeAsLetter is "L"
-PASS path.animatedPathSegList.getItem(1).x is 80
-PASS path.animatedPathSegList.getItem(1).y is 20
-PASS path.animatedPathSegList.getItem(2).pathSegTypeAsLetter is "L"
-PASS path.animatedPathSegList.getItem(2).x is 80
-PASS path.animatedPathSegList.getItem(2).y is 80
-PASS path.animatedPathSegList.getItem(3).pathSegTypeAsLetter is "L"
-PASS path.animatedPathSegList.getItem(3).x is 20
-PASS path.animatedPathSegList.getItem(3).y is 80
-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 40
-PASS path.pathSegList.getItem(0).y is 40
-PASS path.pathSegList.getItem(1).pathSegTypeAsLetter is "L"
-PASS path.pathSegList.getItem(1).x is 60
-PASS path.pathSegList.getItem(1).y is 40
-PASS path.pathSegList.getItem(2).pathSegTypeAsLetter is "L"
-PASS path.pathSegList.getItem(2).x is 60
-PASS path.pathSegList.getItem(2).y is 60
-PASS path.pathSegList.getItem(3).pathSegTypeAsLetter is "L"
-PASS path.pathSegList.getItem(3).x is 40
-PASS path.pathSegList.getItem(3).y is 60
-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 0
-PASS path.animatedPathSegList.getItem(0).y is 0
-PASS path.animatedPathSegList.getItem(1).pathSegTypeAsLetter is "L"
-PASS path.animatedPathSegList.getItem(1).x is 100
-PASS path.animatedPathSegList.getItem(1).y is 0
-PASS path.animatedPathSegList.getItem(2).pathSegTypeAsLetter is "L"
-PASS path.animatedPathSegList.getItem(2).x is 100
-PASS path.animatedPathSegList.getItem(2).y is 100
-PASS path.animatedPathSegList.getItem(3).pathSegTypeAsLetter is "L"
-PASS path.animatedPathSegList.getItem(3).x is 0
-PASS path.animatedPathSegList.getItem(3).y is 100
-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 40
-PASS path.pathSegList.getItem(0).y is 40
-PASS path.pathSegList.getItem(1).pathSegTypeAsLetter is "L"
-PASS path.pathSegList.getItem(1).x is 60
-PASS path.pathSegList.getItem(1).y is 40
-PASS path.pathSegList.getItem(2).pathSegTypeAsLetter is "L"
-PASS path.pathSegList.getItem(2).x is 60
-PASS path.pathSegList.getItem(2).y is 60
-PASS path.pathSegList.getItem(3).pathSegTypeAsLetter is "L"
-PASS path.pathSegList.getItem(3).x is 40
-PASS path.pathSegList.getItem(3).y is 60
-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 40
-PASS path.animatedPathSegList.getItem(0).y is 40
-PASS path.animatedPathSegList.getItem(1).pathSegTypeAsLetter is "L"
-PASS path.animatedPathSegList.getItem(1).x is 60
-PASS path.animatedPathSegList.getItem(1).y is 40
-PASS path.animatedPathSegList.getItem(2).pathSegTypeAsLetter is "L"
-PASS path.animatedPathSegList.getItem(2).x is 60
-PASS path.animatedPathSegList.getItem(2).y is 60
-PASS path.animatedPathSegList.getItem(3).pathSegTypeAsLetter is "L"
-PASS path.animatedPathSegList.getItem(3).x is 40
-PASS path.animatedPathSegList.getItem(3).y is 60
-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 40
-PASS path.pathSegList.getItem(0).y is 40
-PASS path.pathSegList.getItem(1).pathSegTypeAsLetter is "L"
-PASS path.pathSegList.getItem(1).x is 60
-PASS path.pathSegList.getItem(1).y is 40
-PASS path.pathSegList.getItem(2).pathSegTypeAsLetter is "L"
-PASS path.pathSegList.getItem(2).x is 60
-PASS path.pathSegList.getItem(2).y is 60
-PASS path.pathSegList.getItem(3).pathSegTypeAsLetter is "L"
-PASS path.pathSegList.getItem(3).x is 40
-PASS path.pathSegList.getItem(3).y is 60
-PASS path.pathSegList.getItem(4).pathSegTypeAsLetter is "Z"
+PASS path.getAttribute('d') is "M 40 40 L 60 40 L 60 60 L 40 60 Z"
+PASS path.getAttribute('d') is "M 20 20 L 80 20 L 80 80 L 20 80 Z"
+PASS path.getAttribute('d') is "M 0.00999928 0.00999928 L 99.99 0.00999928 L 99.99 99.99 L 0.00999928 99.99 Z"
+PASS path.getAttribute('d') is "M 40 40 L 60 40 L 60 60 L 40 60 Z"
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698