Skip to content

[css-animations-1] Undefined procedures to get/set CSSOM attributes #9364

@cdoublev

Description

@cdoublev

The procedures to get/set CSSKeyframesRule.name and CSSKeyframeRule.keyText are loosely worded:

interface CSSKeyframesRule : CSSRule {
  attribute CSSOMString name;
  // ...
};

name, of type CSSOMString

This attribute is the name of the keyframes, used by the animation-name property.

https://drafts.csswg.org/css-animations-1/#interface-csskeyframesrule-idl

Related: #2435

interface CSSKeyframeRule : CSSRule {
  attribute CSSOMString keyText;
  // ...
};

keyText, of type CSSOMString

This attribute represents the keyframe selector as a comma-separated list of percentage values. The from and to keywords map to 0% and 100%, respectively.

If keyText is updated with an invalid keyframe selector, a SyntaxError exception must be thrown and the value of keyText must remain unchanged.

https://drafts.csswg.org/css-animations-1/#interface-csskeyframerule-idl

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions