Re: [csswg-drafts] [css-borders-4] add "radius/corner-smoothing" option to `border-radius` for squircles/superellipse (#10653)

Right, there will be a lot of overlap (and people coming up with incredible hacks that we didn't consider when designing the feature is always great, so long as they depend on specified behavior and not browser bugs). But that doesn't mean we need both of them to be able to do everything the other can.

border-radius shapes the four corners of the box. Giving it the ability to *create* new corners *and then shape those too* seems like too far, given the design of the property. Cases like your example are better handled by `polygon()` (in `clip-path`, or perhaps `shape-inside/outside`), which *is* designed to be able to create an arbitrary number of corners and round them (see <https://drafts.csswg.org/css-shapes/#funcdef-basic-shape-polygon>)

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


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

Received on Friday, 31 January 2025 22:36:33 UTC