| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <meta charset=utf-8> | 2 <meta charset=utf-8> |
| 3 <title>Animatable.animate tests</title> | 3 <title>Animatable.animate tests</title> |
| 4 <link rel="help" href="http://w3c.github.io/web-animations/#dom-animatable-anima
te"> | 4 <link rel="help" href="http://w3c.github.io/web-animations/#dom-animatable-anima
te"> |
| 5 <link rel="author" title="Brian Birtles" href="mailto:bbirtles@mozilla.com"> | 5 <link rel="author" title="Brian Birtles" href="mailto:bbirtles@mozilla.com"> |
| 6 <script src="../../../../resources/testharness.js"></script> | 6 <script src="../../../../resources/testharness.js"></script> |
| 7 <script src="../../../../resources/testharnessreport.js"></script> | 7 <script src="../../../../resources/testharnessreport.js"></script> |
| 8 <script src="../testcommon.js"></script> | 8 <script src="../testcommon.js"></script> |
| 9 <body> | 9 <body> |
| 10 <div id="log"></div> | 10 <div id="log"></div> |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 | 133 |
| 134 test(function(t) { | 134 test(function(t) { |
| 135 var pseudoTarget = createPseudo(t, 'before'); | 135 var pseudoTarget = createPseudo(t, 'before'); |
| 136 var anim = pseudoTarget.animate({ opacity: [ 0, 1 ] }, 2000); | 136 var anim = pseudoTarget.animate({ opacity: [ 0, 1 ] }, 2000); |
| 137 assert_equals(anim.effect.target, pseudoTarget, | 137 assert_equals(anim.effect.target, pseudoTarget, |
| 138 'The returned Animation targets to the correct object'); | 138 'The returned Animation targets to the correct object'); |
| 139 }, 'CSSPseudoElement.animate() creates an Animation object targeting ' + | 139 }, 'CSSPseudoElement.animate() creates an Animation object targeting ' + |
| 140 'to the correct CSSPseudoElement object'); | 140 'to the correct CSSPseudoElement object'); |
| 141 </script> | 141 </script> |
| 142 </body> | 142 </body> |
| OLD | NEW |