Skip to content

[css-animations] The .style attribute on CSSKeyframeRule should probably look more like other .style attributes that return CSSStyleDeclarations. #906

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bzbarsky opened this issue Jan 13, 2017 · 0 comments

Comments

@bzbarsky
Copy link

Specifically, https://drafts.csswg.org/css-animations/#interface-csskeyframerule says:

readonly attribute CSSStyleDeclaration style;

while other CSSOM bits spec it like so:

[SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;

The latter form is what appears in https://drafts.csswg.org/cssom/#the-csspagerule-interface and https://drafts.csswg.org/cssom/#the-cssstylerule-interface and https://drafts.csswg.org/cssom/#the-elementcssinlinestyle-interface (implemented by HTMLElement and SVGElement).

@birtles birtles closed this as completed in 5d54127 Feb 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant