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

Unified Diff: pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-font-weight-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-font-weight-checks.js
diff --git a/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-font-weight-checks.js b/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-font-weight-checks.js
new file mode 100644
index 0000000000000000000000000000000000000000..e45d62fabcd07d83b3469c71b6659a702aa333be
--- /dev/null
+++ b/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-font-weight-checks.js
@@ -0,0 +1,26 @@
+timing_test(function() {
+ at(0, function() {
+ assert_styles( '#test', {'font-weight':'100'});
+ }, "Autogenerated");
+ at(0.3, function() {
+ assert_styles( '#test', {'font-weight':'100'});
+ }, "Autogenerated");
+ at(0.6, function() {
+ assert_styles( '#test', {'font-weight':'100'});
+ }, "Autogenerated");
+ at(0.8999999999999999, function() {
+ assert_styles( '#test', {'font-weight':'100'});
+ }, "Autogenerated");
+ at(1.2, function() {
+ assert_styles( '#test', {'font-weight':'300'});
+ }, "Autogenerated");
+ at(1.5, function() {
+ assert_styles( '#test', {'font-weight':'500'});
+ }, "Autogenerated");
+ at(1.8, function() {
+ assert_styles( '#test', {'font-weight':'bold'});
+ }, "Autogenerated");
+ at(2.1, function() {
+ assert_styles( '#test', {'font-weight':'900'});
+ }, "Autogenerated");
+}, "Autogenerated checks.");

Powered by Google App Engine
This is Rietveld 408576698