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

Unified Diff: pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-text-shadow-checks.js

Issue 175443005: [polymer] import all elements (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: updated from bower Created 6 years, 10 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: 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.");

Powered by Google App Engine
This is Rietveld 408576698