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

Unified Diff: third_party/WebKit/LayoutTests/animations/interpolation/border-interpolation.html

Issue 2747523002: Web Animations: support cssOffset (Closed)
Patch Set: method Created 3 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/interpolation/offset-interpolation.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/animations/interpolation/border-interpolation.html
diff --git a/third_party/WebKit/LayoutTests/animations/interpolation/border-interpolation.html b/third_party/WebKit/LayoutTests/animations/interpolation/border-interpolation.html
new file mode 100644
index 0000000000000000000000000000000000000000..832b810121d03cb63a296d65b400c59b8514235e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/animations/interpolation/border-interpolation.html
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<meta charset="UTF-8">
+<style>
+.target {
+ width: 10px;
+ height: 10px;
+ background-color: black;
+}
+.expected {
+ background-color: green;
+}
+</style>
+<body>
+<script src="resources/interpolation-test.js"></script>
+<script>
+
+assertInterpolation({
+ property: 'border',
+ from: '10px solid #000',
+ to: '20px dashed #000',
+ method: 'CSS Transitions',
+}, [
+ {at: -0.3, is: '7px dashed #000'},
+ {at: 0, is: '10px dashed #000'},
+ {at: 0.3, is: '13px dashed #000'},
+ {at: 0.6, is: '16px dashed #000'},
+ {at: 1, is: '20px dashed #000'},
+ {at: 1.5, is: '25px dashed #000'},
+]);
+
+assertInterpolation({
+ property: 'border',
+ from: '10px solid #000',
+ to: '20px dashed #000',
+ method: 'CSS Animations',
+}, [
+ {at: -0.3, is: '7px solid #000'},
+ {at: 0, is: '10px solid #000'},
+ {at: 0.3, is: '13px solid #000'},
+ {at: 0.6, is: '16px dashed #000'},
+ {at: 1, is: '20px dashed #000'},
+ {at: 1.5, is: '25px dashed #000'},
+]);
+
+assertInterpolation({
+ property: 'border',
+ from: '10px solid #000',
+ to: '20px dashed #000',
+ method: 'Web Animations',
+}, [
+ {at: -0.3, is: '7px solid #000'},
+ {at: 0, is: '10px solid #000'},
+ {at: 0.3, is: '13px solid #000'},
+ {at: 0.6, is: '16px dashed #000'},
+ {at: 1, is: '20px dashed #000'},
+ {at: 1.5, is: '25px dashed #000'},
+]);
+
+</script>
+</body>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/interpolation/offset-interpolation.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698