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

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

Issue 1217983003: Allow animation of non-interpolable properties in CSS Animations (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 5 years, 6 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/position-interpolation.html
diff --git a/LayoutTests/animations/interpolation/position-interpolation.html b/LayoutTests/animations/interpolation/position-interpolation.html
index dc2e497cfbbc71e837eb95ad35127da05d626696..3feb578b0dd7a1f33982886c409ce350778bbdea 100644
--- a/LayoutTests/animations/interpolation/position-interpolation.html
+++ b/LayoutTests/animations/interpolation/position-interpolation.html
@@ -26,10 +26,23 @@
<script src="resources/interpolation-test.js"></script>
<script>
assertNoInterpolation({
- method: 'Web Animations',
property: 'position',
from: 'absolute',
- to: 'static'
+ to: 'static',
});
+assertInterpolation({
+ property: 'position',
+ from: '',
+ to: 'absolute',
+ method: 'CSS Animations',
+}, [
+ {at: -1, is: 'static'},
+ {at: 0, is: 'static'},
+ {at: 0.25, is: 'static'},
+ {at: 0.5, is: 'absolute'},
+ {at: 0.75, is: 'absolute'},
+ {at: 1, is: 'absolute'},
+ {at: 2, is: 'absolute'},
+]);
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698