| 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="https://w3c.github.io/web-animations/#dom-animatable-anim
ate"> | 4 <link rel="help" href="https://w3c.github.io/web-animations/#dom-animatable-anim
ate"> |
| 5 <script src="../../../../../resources/testharness.js"></script> | 5 <script src="/resources/testharness.js"></script> |
| 6 <script src="../../../../../resources/testharnessreport.js"></script> | 6 <script src="/resources/testharnessreport.js"></script> |
| 7 <script src="../../testcommon.js"></script> | 7 <script src="../../testcommon.js"></script> |
| 8 <script src="../../resources/keyframe-utils.js"></script> | 8 <script src="../../resources/keyframe-utils.js"></script> |
| 9 <body> | 9 <body> |
| 10 <div id="log"></div> | 10 <div id="log"></div> |
| 11 <script> | 11 <script> |
| 12 'use strict'; | 12 'use strict'; |
| 13 | 13 |
| 14 // Tests on Element | 14 // Tests on Element |
| 15 | 15 |
| 16 test(function(t) { | 16 test(function(t) { |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 | 126 |
| 127 test(function(t) { | 127 test(function(t) { |
| 128 var pseudoTarget = createPseudo(t, 'before'); | 128 var pseudoTarget = createPseudo(t, 'before'); |
| 129 var anim = pseudoTarget.animate(null); | 129 var anim = pseudoTarget.animate(null); |
| 130 assert_equals(anim.effect.target, pseudoTarget, | 130 assert_equals(anim.effect.target, pseudoTarget, |
| 131 'The returned Animation targets to the correct object'); | 131 'The returned Animation targets to the correct object'); |
| 132 }, 'CSSPseudoElement.animate() creates an Animation object targeting ' + | 132 }, 'CSSPseudoElement.animate() creates an Animation object targeting ' + |
| 133 'to the correct CSSPseudoElement object'); | 133 'to the correct CSSPseudoElement object'); |
| 134 </script> | 134 </script> |
| 135 </body> | 135 </body> |
| OLD | NEW |