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

Unified Diff: third_party/WebKit/LayoutTests/animations/svg-attribute-interpolation/svg-d-interpolation.html

Issue 1417103003: Use getAttribute to sample 'd' attribute in interpolation-test.js (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/animations/svg-attribute-interpolation/svg-d-interpolation.html
diff --git a/third_party/WebKit/LayoutTests/animations/svg-attribute-interpolation/svg-d-interpolation.html b/third_party/WebKit/LayoutTests/animations/svg-attribute-interpolation/svg-d-interpolation.html
index 1cd8c6b161a06c3df78914a42d3e44b1252a52c0..7f5fbd40c75c12ab066cf4d1c0d26f14babeb1d4 100644
--- a/third_party/WebKit/LayoutTests/animations/svg-attribute-interpolation/svg-d-interpolation.html
+++ b/third_party/WebKit/LayoutTests/animations/svg-attribute-interpolation/svg-d-interpolation.html
@@ -308,12 +308,12 @@ assertAttributeInterpolation({
from: 'M 0 0 L 100 100 M 100 200 L 200 200 Z L 200 100 Z',
to: 'M 0 0 L 100 100 m 0 100 l 100 0 z l 200 100 z'
}, [
- {at: -0.4, is: 'M 0 0 L 100 100 m 0 100 l 100 0 z l 60 -180 z'},
- {at: 0, is: 'M 0 0 L 100 100 m 0 100 l 100 0 z l 100 -100 z'},
- {at: 0.2, is: 'M 0 0 L 100 100 m 0 100 l 100 0 z l 120 -60 z'},
- {at: 0.6, is: 'M 0 0 L 100 100 m 0 100 l 100 0 z l 160 20 z'},
- {at: 1, is: 'M 0 0 L 100 100 m 0 100 l 100 0 z l 200 100 z'},
- {at: 1.4, is: 'M 0 0 L 100 100 m 0 100 l 100 0 z l 240 180 z'},
+ {at: -0.4, is: 'M 0 0 L 100 100 m 0 100 l 100 0 Z l 60 -180 Z'},
+ {at: 0, is: 'M 0 0 L 100 100 m 0 100 l 100 0 Z l 100 -100 Z'},
+ {at: 0.2, is: 'M 0 0 L 100 100 m 0 100 l 100 0 Z l 120 -60 Z'},
+ {at: 0.6, is: 'M 0 0 L 100 100 m 0 100 l 100 0 Z l 160 20 Z'},
+ {at: 1, is: 'M 0 0 L 100 100 m 0 100 l 100 0 Z l 200 100 Z'},
+ {at: 1.4, is: 'M 0 0 L 100 100 m 0 100 l 100 0 Z l 240 180 Z'},
]);
assertAttributeInterpolation({
@@ -321,12 +321,12 @@ assertAttributeInterpolation({
from: 'M 0 0 L 100 100 M 100 200 L 200 200 Z L 200 100 Z',
to: 'M 0 0 L 100 100 m 0 100 l 100 0 z l 100 -100 z'
}, [
- {at: -0.4, is: 'M 0 0 L 100 100 m 0 100 l 100 0 z l 100 -100 z'},
- {at: 0, is: 'M 0 0 L 100 100 m 0 100 l 100 0 z l 100 -100 z'},
- {at: 0.2, is: 'M 0 0 L 100 100 m 0 100 l 100 0 z l 100 -100 z'},
- {at: 0.6, is: 'M 0 0 L 100 100 m 0 100 l 100 0 z l 100 -100 z'},
- {at: 1, is: 'M 0 0 L 100 100 m 0 100 l 100 0 z l 100 -100 z'},
- {at: 1.4, is: 'M 0 0 L 100 100 m 0 100 l 100 0 z l 100 -100 z'},
+ {at: -0.4, is: 'M 0 0 L 100 100 m 0 100 l 100 0 Z l 100 -100 Z'},
+ {at: 0, is: 'M 0 0 L 100 100 m 0 100 l 100 0 Z l 100 -100 Z'},
+ {at: 0.2, is: 'M 0 0 L 100 100 m 0 100 l 100 0 Z l 100 -100 Z'},
+ {at: 0.6, is: 'M 0 0 L 100 100 m 0 100 l 100 0 Z l 100 -100 Z'},
+ {at: 1, is: 'M 0 0 L 100 100 m 0 100 l 100 0 Z l 100 -100 Z'},
+ {at: 1.4, is: 'M 0 0 L 100 100 m 0 100 l 100 0 Z l 100 -100 Z'},
]);
assertAttributeInterpolation({
@@ -334,12 +334,12 @@ assertAttributeInterpolation({
from: 'm 10 20 l 20 30 z l 50 60 z m 70 80 l 90 60 z t 70 120',
to: 'M 110 120 L 130 150 Z L 80 110 Z M 100 140 L 190 200 Z T 210 220'
}, [
- {at: -0.4, is: 'M -30 -20 L -10 10 z L 52 68 z M 72 84 L 162 144 z T 126 220'},
- {at: 0, is: 'M 10 20 L 30 50 z L 60 80 z M 80 100 L 170 160 z T 150 220'},
- {at: 0.2, is: 'M 30 40 L 50 70 z L 64 86 z M 84 108 L 174 168 z T 162 220'},
+ {at: -0.4, is: 'M -30 -20 L -10 10 Z L 52 68 Z M 72 84 L 162 144 Z T 126 220'},
+ {at: 0, is: 'M 10 20 L 30 50 Z L 60 80 Z M 80 100 L 170 160 Z T 150 220'},
+ {at: 0.2, is: 'M 30 40 L 50 70 Z L 64 86 Z M 84 108 L 174 168 Z T 162 220'},
{at: 0.6, is: 'M 70 80 L 90 110 Z L 72 98 Z M 92 124 L 182 184 Z T 186 220'},
{at: 1, is: 'M 110 120 L 130 150 Z L 80 110 Z M 100 140 L 190 200 Z T 210 220'},
- {at: 1.4, is: 'M 150 160 L 170 190 z L 88 122 z M 108 156 L 198 216 z T 234 220'}
+ {at: 1.4, is: 'M 150 160 L 170 190 Z L 88 122 Z M 108 156 L 198 216 Z T 234 220'}
]);
assertAttributeInterpolation({

Powered by Google App Engine
This is Rietveld 408576698