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

Unified Diff: LayoutTests/animations/interpolation/object-position-interpolation.html

Issue 1325783004: Changed CSSPropertyObjectPosition to use legacy interpolation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Review feedback Created 5 years, 4 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 | Source/core/animation/StringKeyframe.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/animations/interpolation/object-position-interpolation.html
diff --git a/LayoutTests/animations/interpolation/object-position-interpolation.html b/LayoutTests/animations/interpolation/object-position-interpolation.html
index 2b55a161c1cd553a8e0c7113df0205fa751aac15..2c700bf3238eb28cbed8b9de5f26387e335138b6 100644
--- a/LayoutTests/animations/interpolation/object-position-interpolation.html
+++ b/LayoutTests/animations/interpolation/object-position-interpolation.html
@@ -129,5 +129,20 @@ assertInterpolation({
{at: 1, is: '100% 0%'},
{at: 1.5, is: '125% -25%'}
]);
+
+assertInterpolation({
+ property: 'object-position',
+ from: 'center',
+ to: 'right bottom 100%',
+}, [
+ {at: -0.5, is: '25% 75%'},
+ {at: 0, is: 'center'},
+ {at: 0.3, is: '65% 35%'},
+ {at: 0.5, is: '75% 25%'},
+ {at: 0.9, is: '95% 5%'},
+ {at: 1, is: 'right bottom 100%'},
+ {at: 1.5, is: '125% -25%'},
+ {at: 2, is: '150% -50%'},
+]);
</script>
</body>
« no previous file with comments | « no previous file | Source/core/animation/StringKeyframe.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698