RESOLVED DUPLICATE of bug 285413285546
[css-images-4] Allow gradients with a single color stop and 0-1 positions
https://bugs.webkit.org/show_bug.cgi?id=285546
Summary [css-images-4] Allow gradients with a single color stop and 0-1 positions
jsnkuhn
Reported 2025-01-07 12:03:35 PST
Currently to create single color images with CSS gradients devs have to include 2 color stops: linear-gradient(red 0 100%) linear-gradient(red 0 0) These stop values have no real meaning in this case and can be anything when there is a single color. This change allows a color with no position value: linear-gradient(red) CSS working group issue: https://github.com/w3c/csswg-drafts/issues/10092 Firefox implementation bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1900530
Attachments
Tim Nguyen (:ntim)
Comment 1 2025-01-07 14:26:04 PST
*** This bug has been marked as a duplicate of bug 285413 ***
Note You need to log in before you can comment on or make changes to this bug.