| Index: pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-parent-checks.js
|
| diff --git a/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-parent-checks.js b/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-parent-checks.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4fb71c09d8ec13cb6387628d9fa51640fa772b0e
|
| --- /dev/null
|
| +++ b/pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-parent-checks.js
|
| @@ -0,0 +1,38 @@
|
| +timing_test(function() {
|
| + at(0, function() {
|
| + assert_styles('.anim', {'left':'100px'});
|
| + }, "Autogenerated");
|
| + at(0.5, function() {
|
| + assert_styles('.anim', {'left':'150px'});
|
| + }, "Autogenerated");
|
| + at(1, function() {
|
| + assert_styles(
|
| + '.anim',
|
| + [{'left':'200px'},
|
| + {'left':'100px'}]);
|
| + }, "Autogenerated");
|
| + at(1.5, function() {
|
| + assert_styles(
|
| + '.anim',
|
| + [{'left':'200px'},
|
| + {'left':'150px'}]);
|
| + }, "Autogenerated");
|
| + at(2, function() {
|
| + assert_styles(
|
| + '.anim',
|
| + [{'left':'200px'},
|
| + {'left':'100px'}]);
|
| + }, "Autogenerated");
|
| + at(2.5, function() {
|
| + assert_styles(
|
| + '.anim',
|
| + [{'left':'200px'},
|
| + {'left':'150px'}]);
|
| + }, "Autogenerated");
|
| + at(3, function() {
|
| + assert_styles('.anim', {'left':'200px'});
|
| + }, "Autogenerated");
|
| + at(3.5, function() {
|
| + assert_styles('.anim', {'left':'200px'});
|
| + }, "Autogenerated");
|
| +}, "Autogenerated checks.");
|
|
|