Re: [csswg-drafts] [css-backgrounds] The shape of box-shadow should be a circle for a box with border-radius:50% and big spread (#7103)

> If 0px has one behavior, but .000001px has a completely different behavior, that's discontinuous. (And we try to avoid that as much as possible, because it means that rounding precision of implementations becomes observable.)

I still think that discontinuity is much, much less objectionable than having flat edges on an ellipse or circle, or of having the spread amount be different in one dimension than the other.  To avoid observable differences in implementations, I suggest we just pick an arbitrary length at which the radius of that length or smaller is considered zero. Maybe something like border-radius of .25px or less is treated the same as border-radius: 0. That way, this edge case of extremely small radii do not end up distorting all the larger (1px +) border radii. 

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


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

Received on Friday, 5 August 2022 06:34:04 UTC