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

Unified Diff: LayoutTests/animations/interpolation/svg-stroke-dashoffset-interpolation.html

Issue 991533003: Handle more <length> properties in animation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: stroke-dashoffset setter exists + fixups + add tests Created 5 years, 9 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/animations/interpolation/svg-stroke-dashoffset-interpolation.html
diff --git a/LayoutTests/animations/interpolation/svg-stroke-dashoffset-interpolation.html b/LayoutTests/animations/interpolation/svg-stroke-dashoffset-interpolation.html
index 7e4dbbbe1c2f8597b0f8a7b35857518cce06b258..751ebbd53d0bbab3f11a687e9c60259b230acde0 100644
--- a/LayoutTests/animations/interpolation/svg-stroke-dashoffset-interpolation.html
+++ b/LayoutTests/animations/interpolation/svg-stroke-dashoffset-interpolation.html
@@ -60,5 +60,18 @@ assertInterpolation({
{at: 1, is: '140px'},
{at: 1.25, is: '150px'},
]);
+assertInterpolation({
+ property: 'stroke-dashoffset',
+ from: '-10',
+ to: '10'
+}, [
+ {at: -0.25, is: '-15'},
+ {at: 0, is: '-10'},
+ {at: 0.25, is: '-5'},
+ {at: 0.5, is: '0'},
+ {at: 0.75, is: '5'},
+ {at: 1, is: '10'},
+ {at: 1.25, is: '15'},
+]);
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698