W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2017

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

From: Boris Zbarsky via GitHub <sysbot+gh@w3.org>
Date: Fri, 13 Jan 2017 15:35:33 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-200659152-1484321732-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:07 UTC