Index: pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-text-shadow-checks.js |
diff --git a/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-text-shadow-checks.js b/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-text-shadow-checks.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..83fa15387acab92b890818c938ca1c9420f8e940 |
--- /dev/null |
+++ b/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-text-shadow-checks.js |
@@ -0,0 +1,20 @@ |
+timing_test(function() { |
+ at(0, function() { |
+ assert_styles('body', {'textShadow':'rgb(255, 0, 0) 100px 100px 0px, rgb(255, 0, 0) 0px 100px 20px'}); |
+ }, "Autogenerated"); |
+ at(0.5, function() { |
+ assert_styles('body', {'textShadow':'rgba(255, 0, 0, 0.74902) 75px 75px 0px, rgba(255, 0, 0, 0.74902) 0px 75px 15px'}); |
+ }, "Autogenerated"); |
+ at(1, function() { |
+ assert_styles('body', {'textShadow':'rgba(255, 0, 0, 0.498039) 50px 50px 0px, rgba(255, 0, 0, 0.498039) 0px 50px 10px'}); |
+ }, "Autogenerated"); |
+ at(1.5, function() { |
+ assert_styles('body', {'textShadow':'rgba(255, 0, 0, 0.247059) 25px 25px 0px, rgba(255, 0, 0, 0.247059) 0px 25px 5px'}); |
+ }, "Autogenerated"); |
+ at(2, function() { |
+ assert_styles('body', {'textShadow':'rgb(0, 0, 0) 0px 0px 0px'}); |
+ }, "Autogenerated"); |
+ at(2.5, function() { |
+ assert_styles('body', {'textShadow':'rgb(0, 0, 0) 0px 0px 0px'}); |
+ }, "Autogenerated"); |
+}, "Autogenerated checks."); |