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

Unified Diff: LayoutTests/animations/interpolation/letter-spacing-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/letter-spacing-interpolation.html
diff --git a/LayoutTests/animations/interpolation/letter-spacing-interpolation.html b/LayoutTests/animations/interpolation/letter-spacing-interpolation.html
index 92de286ca7773038e1a8e6998ac7b378c67b35ce..a6ace4fa5a5d3df43f2243fc7df539056914eb77 100644
--- a/LayoutTests/animations/interpolation/letter-spacing-interpolation.html
+++ b/LayoutTests/animations/interpolation/letter-spacing-interpolation.html
@@ -26,5 +26,17 @@ assertInterpolation({
{at: 1, is: '10px'},
{at: 1.5, is: '20px'},
]);
+assertInterpolation({
+ property: 'letter-spacing',
+ from: 'normal',
+ to: '10px'
+}, [
+ {at: -0.3, is: '-3px'},
+ {at: 0, is: '0px'},
+ {at: 0.3, is: '3px'},
+ {at: 0.6, is: '6px'},
+ {at: 1, is: '10px'},
+ {at: 1.5, is: '15px'},
+]);
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698