[csswg-drafts] [css-animations] The `.style` attribute on CSSKeyframeRule should probably look more like other `.style` attributes that return `CSSStyleDeclaration`s.

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

== [css-animations] The `.style` attribute on CSSKeyframeRule should 
probably look more like other `.style` attributes that return 
`CSSStyleDeclaration`s. ==
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).

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

Received on Friday, 13 January 2017 15:35:41 UTC