1 Test the CSSOM of @keyframes.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS keyframeRule.toString() is "[object CSSKeyframesRule]"
7 PASS keyframeRule.type is 7
8 PASS keyframeRule.name is "anim"
9 PASS keyframeRule.findRule('from').cssText is "0% { left: 200px; }"
10 PASS keyframeRule.findRule('to').cssText is "100% { left: 300px; }"
11 PASS keyframeRule.findRule('from') is null
12 PASS keyframeRule.findRule('from').cssText is "0% { left: 200px; }"
13 PASS keyframeRule.cssRules[0].toString() is "[object CSSKeyframeRule]"
14 PASS keyframeRule.cssRules[0].cssText is "100% { left: 300px; }"
15 PASS keyframeRule.cssRules[0].keyText is "100%"
16 PASS keyframeRule.cssRules[0].style.cssText is "left: 300px;"
17 PASS keyframeRule.cssRules[1].toString() is "[object CSSKeyframeRule]"
18 PASS keyframeRule.cssRules[1].cssText is "0% { left: 200px; }"
19 PASS keyframeRule.cssRules[1].keyText is "0%"
20 PASS keyframeRule.cssRules[1].style.cssText is "left: 200px;"
21 PASS new CSSKeyframesRule().name threw exception TypeError: Illegal constructor.
22 PASS successfullyParsed is true