Skip to content

[css-images] linear-gradient syntax oopsie #3781

Description

@benjamin-otte

https://drafts.csswg.org/css-images-3/#linear-gradients defines linear gradients as
linear-gradient() = linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list>)
but should probably define them as
linear-gradient() = linear-gradient( [ <angle> | to <side-or-corner> , ]? <color-stop-list>)
because otherwise
linear-gradient(red,blue)
would be incorrect and
linear-gradient(,red,blue)
would need to be used.

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