Skip to content

Defect: 5.3.6+ forces animation-name to be lowercase #303

@Knagis

Description

@Knagis
import { CSSStyleDeclaration } from "cssstyle";

const css = new CSSStyleDeclaration();

css.setProperty("animation-name", "fooBar");

console.log(css.getPropertyValue("animation-name"));
// outputs "foobar" on 5.3.6, "fooBar" on 5.3.5

CSS spec says animation-name is case sensitive: https://drafts.csswg.org/css-animations/#typedef-keyframes-name

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