Re: [csswg-drafts] [css-images-4] Allow gradients with a single color stop and 0-1 positions (#10092)

In [3.5.3. Color Stop “Fixup”](https://drafts.csswg.org/css-images-4/#color-stop-fixup) we read:

> If the first [color stop](https://drafts.csswg.org/css-images-4/#color-stop) does not have a position, set its position to 0%. If the last color stop does not have a position, set its position to 100%.

So this would become

> If there is only a single stop, and it has no position, set its position to 50%. Otherwise: if the first [color stop](https://drafts.csswg.org/css-images-4/#color-stop) does not have a position, set its position to 0% and if the last color stop does not have a position, set its position to 100%.

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10092#issuecomment-2230892477 using your GitHub account


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

Received on Tuesday, 16 July 2024 13:27:36 UTC