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

Unified Diff: LayoutTests/animations/interpolation/webkit-text-stroke-color-interpolation.html

Issue 24021003: CSS Animations: add interpolation test for webkit-text-stroke-color (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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/interpolation/webkit-text-stroke-color-interpolation-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/animations/interpolation/webkit-text-stroke-color-interpolation.html
diff --git a/LayoutTests/animations/interpolation/webkit-text-stroke-color-interpolation.html b/LayoutTests/animations/interpolation/webkit-text-stroke-color-interpolation.html
new file mode 100755
index 0000000000000000000000000000000000000000..3b4b5d8c22a0bf5ac8ea2240f32bb904814d3d94
--- /dev/null
+++ b/LayoutTests/animations/interpolation/webkit-text-stroke-color-interpolation.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<meta charset="UTF-8">
+<style>
+.target {
+ display: inline-block;
+ font: 60pt sans-serif;
+ -webkit-text-stroke: 3px black;
+ -webkit-text-fill-color: white;
+}
+.replica {
+ margin-right: 15px;
+}
+</style>
+<body>
+<template id="target-template">T</template>
+<script src="resources/interpolation-test.js"></script>
+<script>
+assertInterpolation({
+ property: '-webkit-text-stroke-color',
+ from: 'black',
+ to: 'orange'
+}, [
+ {at: -0.3, is: 'black'},
+ {at: 0, is: 'black'},
+ {at: 0.3, is: 'rgb(77, 50, 0)'},
+ {at: 0.6, is: 'rgb(153, 99, 0)'},
+ {at: 1, is: 'orange'},
+ {at: 1.5, is: 'rgb(255, 248, 0)'},
+]);
+</script>
+</body>
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/webkit-text-stroke-color-interpolation-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698