Skip to content

[CSS-Typed OM] CSSScaleValue should accept one argument #887

Open
@Rumyra

Description

@Rumyra

In CSS you can use one value inside of a scale function and it will apply to both x and y axis.

This is not the case for the CSSScaleValue - which doesn't have a one argument constructor version. At the moment we do this:

new CSSScale(CSS.number(2), CSS.number(2))

Would make sense to do new CSSScale(CSS.number(2))

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