OLD | NEW |
| 1 CONSOLE WARNING: 'CSSKeyframesRule.insertRule()' is deprecated and will be remov
ed in M45, around August 2015. Please use 'CSSKeyframesRule.appendRule()' instea
d. |
1 Test the CSSOM of @-webkit-keyframes. | 2 Test the CSSOM of @-webkit-keyframes. |
2 | 3 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 5 |
5 | 6 |
6 PASS keyframeRule.toString() is "[object CSSKeyframesRule]" | 7 PASS keyframeRule.toString() is "[object CSSKeyframesRule]" |
7 PASS keyframeRule.type is 7 | 8 PASS keyframeRule.type is 7 |
8 PASS keyframeRule.name is "anim" | 9 PASS keyframeRule.name is "anim" |
9 PASS keyframeRule.findRule('from').cssText is "0% { left: 200px; }" | 10 PASS keyframeRule.findRule('from').cssText is "0% { left: 200px; }" |
10 PASS keyframeRule.findRule('to').cssText is "100% { left: 300px; }" | 11 PASS keyframeRule.findRule('to').cssText is "100% { left: 300px; }" |
11 PASS keyframeRule.findRule('from') is null | 12 PASS keyframeRule.findRule('from') is null |
12 PASS keyframeRule.findRule('from').cssText is "0% { left: 200px; }" | 13 PASS keyframeRule.findRule('from').cssText is "0% { left: 200px; }" |
13 PASS keyframeRule.cssRules[0].toString() is "[object CSSKeyframeRule]" | 14 PASS keyframeRule.cssRules[0].toString() is "[object CSSKeyframeRule]" |
14 PASS keyframeRule.cssRules[0].cssText is "100% { left: 300px; }" | 15 PASS keyframeRule.cssRules[0].cssText is "100% { left: 300px; }" |
15 PASS keyframeRule.cssRules[0].keyText is "100%" | 16 PASS keyframeRule.cssRules[0].keyText is "100%" |
16 PASS keyframeRule.cssRules[0].style.cssText is "left: 300px;" | 17 PASS keyframeRule.cssRules[0].style.cssText is "left: 300px;" |
17 PASS keyframeRule.cssRules[1].toString() is "[object CSSKeyframeRule]" | 18 PASS keyframeRule.cssRules[1].toString() is "[object CSSKeyframeRule]" |
18 PASS keyframeRule.cssRules[1].cssText is "0% { left: 200px; }" | 19 PASS keyframeRule.cssRules[1].cssText is "0% { left: 200px; }" |
19 PASS keyframeRule.cssRules[1].keyText is "0%" | 20 PASS keyframeRule.cssRules[1].keyText is "0%" |
20 PASS keyframeRule.cssRules[1].style.cssText is "left: 200px;" | 21 PASS keyframeRule.cssRules[1].style.cssText is "left: 200px;" |
21 PASS new CSSKeyframesRule().name threw exception TypeError: Illegal constructor. | 22 PASS new CSSKeyframesRule().name threw exception TypeError: Illegal constructor. |
22 PASS successfullyParsed is true | 23 PASS successfullyParsed is true |
23 | 24 |
24 TEST COMPLETE | 25 TEST COMPLETE |
25 | 26 |
OLD | NEW |