Re: [csswg-drafts] [css-images-4] minor error in Conic Gradients example (#3355)

> the radial gradient will not be transparent at the edge of the circle; the radius is based on the diagonal of the box, so it's about 106px, not 75px.

This isn't true; per <https://drafts.csswg.org/css-images-3/#radial-color-stops>, the gradient ray starts at the center of the gradient shape and extends to the right, so 100% exactly hits the gradient shape.

SVG gradients use the diagonal, but CSS gradients work more sensibly. ^_^

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

Received on Thursday, 29 November 2018 21:19:00 UTC