Skip to content

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

@bzbarsky

Description

@bzbarsky

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions