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

Unified Diff: LayoutTests/animations/composition/left-composition.html

Issue 1248093002: Move interpolated Length unit types out of InterpolableValue into NonInterpolableValue (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase again Created 5 years, 3 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/retain-zero-percent.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/animations/composition/left-composition.html
diff --git a/LayoutTests/animations/composition/left-composition.html b/LayoutTests/animations/composition/left-composition.html
index 68dd0316f743d7a93a84b6bf7309cd17eb24b8a4..87a8729fdd450bd426bbcd46c8bc64881d1ca224 100644
--- a/LayoutTests/animations/composition/left-composition.html
+++ b/LayoutTests/animations/composition/left-composition.html
@@ -44,6 +44,19 @@ assertComposition({
assertComposition({
property: 'left',
+ underlying: '10%',
+ addFrom: '100px',
+ addTo: '-10%',
+}, [
+ {at: -0.3, is: 'calc(130px + 13%)'},
+ {at: 0, is: 'calc(100px + 10%)'},
+ {at: 0.5, is: 'calc(50px + 5%)'},
+ {at: 1, is: '0%'},
+ {at: 1.5, is: 'calc(-50px - 5%)'},
+]);
+
+assertComposition({
+ property: 'left',
underlying: '50px',
addFrom: '100px',
replaceTo: '200px',
« no previous file with comments | « no previous file | LayoutTests/animations/retain-zero-percent.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698