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

Unified Diff: LayoutTests/animations/interpolation/text-shadow-interpolation.html

Issue 38823002: Web Animations CSS: Support animation of {text,box,-webkit-box}-shadow and fix blur clamping (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: use 0 instead of PassRefPtr<..>() Created 7 years, 2 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/text-shadow-interpolation.html
diff --git a/LayoutTests/animations/interpolation/text-shadow-interpolation.html b/LayoutTests/animations/interpolation/text-shadow-interpolation.html
new file mode 100644
index 0000000000000000000000000000000000000000..2e5d89b03c18edb45f6d7d68da3281d04b560105
--- /dev/null
+++ b/LayoutTests/animations/interpolation/text-shadow-interpolation.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<meta charset="UTF-8">
+<style>
+.target {
+ display: inline-block;
+ font-size: 60pt;
+ margin-right: 20px;
+ margin-bottom: 30px;
+}
+.replica {
+ margin-right: 40px;
+}
+</style>
+<body>
+<template id="target-template">T</template>
+<script src="resources/interpolation-test.js"></script>
+<script>
+assertInterpolation({
+ property: 'text-shadow',
+ from: '15px 10px 5px black',
+ to: '-15px -10px 25px orange'
+}, [
+ {at: -0.3, is: '24px 16px 0px black'},
+ {at: 0, is: '15px 10px 5px black'},
+ {at: 0.3, is: '6px 4px 11px rgb(77, 50, 0)'},
+ {at: 0.6, is: '-3px -2px 17px rgb(153, 99, 0)'},
+ {at: 1, is: '-15px -10px 25px orange'},
+ {at: 1.5, is: '-30px -20px 35px rgb(255, 248, 0)'},
+]);
+</script>
+</body>

Powered by Google App Engine
This is Rietveld 408576698