Re: [csswg-drafts] [css-shapes-2][css-borders-4] corner-shape initial value (#11623)

> A way around this problem is to create a `corner-size` property to go along with `corner-shape` and then allow devs to use `border-radius` as a fallback if they chose to.

What would be the default shape with a non-zero corner-size, and how would it interact with a border-radius?
Seems like those would be mutually exclusive properties that kind of do the same thing with different defaults, and I think we'll end up in a more confusing place than where we've started.

I agree that when the design is mostly straight, falling back to something rounded is not ideal visually. I think something like this is more readable than introducing an additional corner-sizing property:

```css
@supports (corner-shape: bevel) {
  border-radius: 10px;
  corner-shape: bevel;
}
```


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


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

Received on Monday, 26 May 2025 12:23:48 UTC