Deletes the keyframe rule with the given key.
Syntaxvar retval = CSSKeyframesRule.deleteRule(key);
- key [in]
The key that describes the CSSKeyframeRule object to be deleted. The key must resolve to a number between 0 and 1, or the rule is ignored.
This method can return one of these values.
The operation completed successfully.
- CSS Animations Module Level 3, Section 5
If a rule with the given key does not exist, the deleteRule method does nothing.