[csswg-drafts] [css-animations-1] CSSKeyframesRule should have index getter (#7684)

rniwa has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-animations-1] CSSKeyframesRule should have index getter ==
Blink and WebKit has index getter on CSSKeyframesRule. For best interoperability, I recommend adding it to the spec.

See WebKit's IDL for example:
```webidl
[
    Exposed=Window
] interface CSSKeyframesRule : CSSRule {
    attribute [AtomString] DOMString name;
    readonly attribute CSSRuleList cssRules;
    
    undefined insertRule(DOMString rule);
    undefined appendRule(DOMString rule);
    undefined deleteRule(DOMString key);
    CSSKeyframeRule? findRule(DOMString key);

    getter CSSKeyframeRule (unsigned long index);
};
```


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7684 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 3 September 2022 19:03:50 UTC