Skip to content

[css-transforms-1] SVG transform attributes: transforms don't need to be separated #3719

@dirkschulze

Description

@dirkschulze

https://drafts.csswg.org/css-transforms/#svg-transforms does not reflect implementations correctly.

Syntax says:

transform
| transform comma-wsp transforms

which requires a comma or a wsp between transform functions. Browsers do not require any separation between transform functions.

Example:

<rect width="20" height="20" transform="translate(20, 20)scale(20)"/>

... does translate and scale the rect in Safari, Chrome and Firefox.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions