OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../resources/js-test.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
5 <style> | 5 <style> |
6 #base { | 6 #base { |
7 animation-name: anim; | 7 animation-name: anim; |
8 animation-duration: 5s; | 8 animation-duration: 5s; |
9 animation-timing-function: linear; | 9 animation-timing-function: linear; |
10 animation-delay: 2s; | 10 animation-delay: 2s; |
11 animation-iteration-count: infinite; | 11 animation-iteration-count: infinite; |
12 animation-direction: alternate; | 12 animation-direction: alternate; |
13 animation-play-state: running; | 13 animation-play-state: running; |
14 } | 14 } |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 shouldBe("computedStyle.animationDirection", "'normal'"); | 93 shouldBe("computedStyle.animationDirection", "'normal'"); |
94 shouldBe("computedStyle.webkitAnimationDirection", "'normal'"); | 94 shouldBe("computedStyle.webkitAnimationDirection", "'normal'"); |
95 | 95 |
96 shouldBe("computedStyle.animationPlayState", "'running'"); | 96 shouldBe("computedStyle.animationPlayState", "'running'"); |
97 shouldBe("computedStyle.webkitAnimationPlayState", "'running'"); | 97 shouldBe("computedStyle.webkitAnimationPlayState", "'running'"); |
98 | 98 |
99 document.body.removeChild(testContainer); | 99 document.body.removeChild(testContainer); |
100 </script> | 100 </script> |
101 </body> | 101 </body> |
102 </html> | 102 </html> |
OLD | NEW |