Skip to content

[css-images-4] Allow gradient color stops to have two locations #2439

Open
@LeaVerou

Description

@LeaVerou

Hi all,

Last week we cleared conic-gradient() for shipping.

It turns out that many conic gradient demos are also using the two position color stop syntax, since the conic-gradient() polyfill supported that too, so the Chrome developer implemented that as well. He asked me today if this has to wait until CR or it can be shipped alongside conic-gradient().

The feature is that gradient color stops can have two positions, and they are expanded into two consecutive color stops with the same color, which is useful for creating "bands" of color.

My arguments for clearing this too:

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