Re: [csswg-drafts] [css-images-4] Allow a single color stop with two positions (#10077)

If you have a single color, any number of positions will produce the same thing (a solid-color gradient), so in theory that would be fine, but the current spec is just the most straightforward mapping of the earlier requirement (that you have at least two stops, so there's some notion of a "gradient" being defined) into the new ability for one stop to define two positions. If you just wanted a solid-color image, the intention is that you shouldn't reach for a gradient, but `image(blue)` (which has never been implemented, sadly).

I don't really have an opinion on this, but since impls all seem to agree, I'm inclined to just accept Guillaume's PR as-is.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/10077#issuecomment-1998556669 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 14 March 2024 22:03:53 UTC