Skip to content

CSSKeyframesRule

Generated from idl/cssom.webidl when the site was built at 7aa23e2.

CSSKeyframesRule is an interface in idl/cssom.webidl, inheriting CSSRule, exposed in Window. What it does is on MDN; this page says what niso has of it.

The web features its members belong to, each with its Baseline status on the web and how much of the feature’s WPT suite passes in niso (see Web platform support).

Feature On the web In niso Members
Animations (CSS) Widely available Partial 56% 649 of 1148 subtests pass 5
attribute
readonly attribute DOMString name;
int32_t niso_css_keyframes_rule_get_name(niso_dom* dom, niso_handle self, niso_str* out);
attribute
readonly attribute CSSRuleList cssRules;
int32_t niso_css_keyframes_rule_get_css_rules(niso_dom* dom, niso_handle self, niso_handle* out);
attribute
readonly attribute unsigned long length;
int32_t niso_css_keyframes_rule_get_length(niso_dom* dom, niso_handle self, uint32_t* out);
operation
getter CSSKeyframeRule? item(unsigned long index);
int32_t niso_css_keyframes_rule_item(niso_dom* dom, niso_handle self, uint32_t index, niso_handle* out);
operation
undefined appendRule(DOMString rule);
int32_t niso_css_keyframes_rule_append_rule(niso_dom* dom, niso_handle self, const char* rule, size_t rule_len);

Members the web has, by the BCD keys web-features 3.45.0 lists, that idl/ doesn’t declare. The list is partial: web-features lists only the keys it maps to a feature.

  • deleteRule (Animations (CSS))
  • findRule (Animations (CSS))