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

Unified Diff: LayoutTests/animations/interpolation/perspective-interpolation.html

Issue 955863002: Support keywords in LengthStyleInterpolation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: transitions test with interpolated perspective 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/perspective-interpolation.html
diff --git a/LayoutTests/animations/interpolation/perspective-interpolation.html b/LayoutTests/animations/interpolation/perspective-interpolation.html
index 01feb081c6723600dcfbd918d58737a923aaa506..fdd803cf183077a455719742c678d44ed6dcfb8b 100644
--- a/LayoutTests/animations/interpolation/perspective-interpolation.html
+++ b/LayoutTests/animations/interpolation/perspective-interpolation.html
@@ -41,5 +41,20 @@ assertInterpolation({
{at: 1, is: '100px'},
{at: 1.5, is: '125px'}
]);
+
+assertInterpolation({
+ property: 'perspective',
+ from: '50px',
+ to: 'none'
+}, [
+ {at: -20, is: '50px'},
+ {at: -1, is: '50px'},
+ {at: -0.3, is: '50px'},
+ {at: 0, is: '50px'},
+ {at: 0.3, is: '50px'},
+ {at: 0.6, is: 'none'},
+ {at: 1, is: 'none'},
+ {at: 1.5, is: 'none'}
+]);
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698