blob: d927b6745373336382094888195c33368a83bdb4 [file] [log] [blame]
Test the CSSOM of @keyframes.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS keyframeRule.toString() is "[object CSSKeyframesRule]"
PASS keyframeRule.type is 7
PASS is "anim"
PASS keyframeRule.findRule('from').cssText is "0% { left: 200px; }"
PASS keyframeRule.findRule('to').cssText is "100% { left: 300px; }"
PASS keyframeRule.findRule('from') is null
PASS keyframeRule.findRule('from').cssText is "0% { left: 200px; }"
PASS keyframeRule.cssRules[0].toString() is "[object CSSKeyframeRule]"
PASS keyframeRule.cssRules[0].cssText is "100% { left: 300px; }"
PASS keyframeRule.cssRules[0].keyText is "100%"
PASS keyframeRule.cssRules[0].style.cssText is "left: 300px;"
PASS keyframeRule.cssRules[1].toString() is "[object CSSKeyframeRule]"
PASS keyframeRule.cssRules[1].cssText is "0% { left: 200px; }"
PASS keyframeRule.cssRules[1].keyText is "0%"
PASS keyframeRule.cssRules[1].style.cssText is "left: 200px;"
PASS new CSSKeyframesRule().name threw exception TypeError: Illegal constructor.
PASS successfullyParsed is true