OLD | NEW |
1 <!-- | 1 <!-- |
2 Copyright 2013 Google Inc. All Rights Reserved. | 2 Copyright 2013 Google Inc. All Rights Reserved. |
3 | 3 |
4 Licensed under the Apache License, Version 2.0 (the "License"); | 4 Licensed under the Apache License, Version 2.0 (the "License"); |
5 you may not use this file except in compliance with the License. | 5 you may not use this file except in compliance with the License. |
6 You may obtain a copy of the License at | 6 You may obtain a copy of the License at |
7 | 7 |
8 http://www.apache.org/licenses/LICENSE-2.0 | 8 http://www.apache.org/licenses/LICENSE-2.0 |
9 | 9 |
10 Unless required by applicable law or agreed to in writing, software | 10 Unless required by applicable law or agreed to in writing, software |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 nextAnimation.addEventListener('end', function() { | 48 nextAnimation.addEventListener('end', function() { |
49 test.step(function() { assert_styles("#target", {left:'100px'}); }); | 49 test.step(function() { assert_styles("#target", {left:'100px'}); }); |
50 test.done(); | 50 test.done(); |
51 }); | 51 }); |
52 document.timeline.play(nextAnimation); | 52 document.timeline.play(nextAnimation); |
53 }); | 53 }); |
54 document.timeline.play(animation); | 54 document.timeline.play(animation); |
55 | 55 |
56 timing_test(function() {at(1 * 1000, function() {});}, 'Force testharness to exe
cute to 1 second.'); | 56 timing_test(function() {at(1 * 1000, function() {});}, 'Force testharness to exe
cute to 1 second.'); |
57 </script> | 57 </script> |
OLD | NEW |