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

Unified Diff: LayoutTests/animations/interpolation/box-shadow-interpolation.html

Issue 851633002: Animation: Add template for ListStyleInterpolation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add else to shadowToInterpolableValue Created 5 years, 10 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
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/box-shadow-interpolation-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/animations/interpolation/box-shadow-interpolation.html
diff --git a/LayoutTests/animations/interpolation/box-shadow-interpolation.html b/LayoutTests/animations/interpolation/box-shadow-interpolation.html
index 4d220e9a02587a8788e997818abd9d7702425ec2..564c77db0816efc2b087a54a7d339fcf0565a6aa 100644
--- a/LayoutTests/animations/interpolation/box-shadow-interpolation.html
+++ b/LayoutTests/animations/interpolation/box-shadow-interpolation.html
@@ -31,6 +31,19 @@ assertInterpolation({
{at: 1.5, is: '-30px -20px 35px -9px rgb(255, 248, 0)'},
]);
+assertInterpolation({
+ property: 'box-shadow',
+ from: '15px 10px 5px 6px black inset',
+ to: '-15px -10px 25px -4px orange inset'
+}, [
+ {at: -0.3, is: '24px 16px 0px 9px black inset'},
+ {at: 0, is: '15px 10px 5px 6px black inset'},
+ {at: 0.3, is: '6px 4px 11px 3px rgb(77, 50, 0) inset'},
+ {at: 0.6, is: '-3px -2px 17px 0px rgb(153, 99, 0) inset'},
+ {at: 1, is: '-15px -10px 25px -4px orange inset'},
+ {at: 1.5, is: '-30px -20px 35px -9px rgb(255, 248, 0) inset'},
+]);
+
// Test padding shorter lists
assertInterpolation({
property: 'box-shadow',
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/box-shadow-interpolation-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698