Skip to content

[css-images-4] Relax color interpolation method syntax in gradients #7986

@cdoublev

Description

@cdoublev

Please forgive me if some related discussions exist somewhere but I did not find them in #6667 or #5833. I would like to know why the color interpolation method cannot be declared between the gradient line parameters (I am not sure this is the correct term).

For example:

  • current: conic-gradient([[from <angle>]? [at <position>]?] || <color-interpolation-method>, <angular-color-stop-list>)
  • instead of conic-gradient([from <angle> || at <position> || <color-interpolation-method>]?, <angular-color-stop-list>)

From the perspective of the authoring experience, conic-gradient(at center in srgb from 45deg, ...) does not seem even more meaningless (no criticism here) than conic-gradient(at center in srgb, ...) for me, and the syntax is easier to read.

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