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

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

Issue 1153943003: Add foundation for removing AnimatableValues from StyleInterpolation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Review changes 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
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/display-interpolation-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/animations/interpolation/display-interpolation.html
diff --git a/LayoutTests/animations/interpolation/display-interpolation.html b/LayoutTests/animations/interpolation/display-interpolation.html
new file mode 100644
index 0000000000000000000000000000000000000000..7247e3bb14ca54b0a636847228a625d64e31dfb7
--- /dev/null
+++ b/LayoutTests/animations/interpolation/display-interpolation.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<meta charset="UTF-8">
+<style>
+.target {
+ display: block;
+}
+</style>
+<body>
+<script src="resources/interpolation-test.js"></script>
+<script>
+assertInterpolation({
+ property: 'display',
+ from: 'none',
+ to: 'flex',
+ method: 'CSS Animations',
+}, [
+ {at: -0.3, is: 'block'},
+ {at: 0, is: 'block'},
+ {at: 0.3, is: 'block'},
+ {at: 0.6, is: 'block'},
+ {at: 1, is: 'block'},
+ {at: 1.5, is: 'block'},
+]);
+assertNoInterpolation({
+ property: 'display',
+ from: 'none',
+ to: 'flex',
+ method: 'Web Animations',
+});
+</script>
+</body>
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/display-interpolation-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698