Re: [csswg-drafts] [css-borders-4] Use cases for `corner-shape` (#6980)

> > I believe that the new `corner-shape` covers all of this! Care to confirm?
> 
> It seems that all of the basic corner shapes (angle/bevel, notch, scoop, squircle) are covered but the rounded variants of those basic shapes would still need addressing.
> 
> a few examples example:
> 
> * Rounded angled corners:
>   [[css-borders-4] Use cases for `corner-shape` #6980 (comment)](https://github.com/w3c/csswg-drafts/issues/6980#issuecomment-2543141752)
> * Rounded notched corners (these seem to be getting very popular):
>   [[css-borders-4] Use cases for `corner-shape` #6980 (comment)](https://github.com/w3c/csswg-drafts/issues/6980#issuecomment-2151055175)
>   [[css-borders-4] Use cases for `corner-shape` #6980 (comment)](https://github.com/w3c/csswg-drafts/issues/6980#issuecomment-1879759158)

Thanks!
These are all possible by using `polygon()` or `shape()`, isn't it so?
I'm not sure we can generalize all of these cases as "corners", most of them look to me like bespoke shapes... Also some of them would require more than one set of radii to work, so overloading all of this on the concept on "corners" might not work out.

Perhaps if some of them become common we can have special basic shapes for them, but let's start with letting people go crazy with `shape()` and see how far they get?

Note that neither `shape()` or `corner-shape` are set up for changing the flow of the text inside them, which is required by https://github.com/w3c/csswg-drafts/issues/6980#issuecomment-2151055175 for example. 



-- 
GitHub Notification of comment by noamr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6980#issuecomment-2628297666 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 20:03:15 UTC