Re: [csswg-drafts] [css-borders-4] corner-shape initial value ("round") is strange in some cases (e.g. bevel) (#11623)

Another option, perhaps, better, is to have a `corners` shorthand:
```
   <<corner-shape-and-size>> = none | [ <<corner-shape-value>> && <<length-percentage [0,&infin;]>>{1,2} ]
   <<corners>>: <<shape-and-size>> [ / <<corner-shape-and-size>> ]{0, 3}
```
Where the author has to specify both a shape and a size (neither are optional), but can declare 1..4 corners. e.g.:

```css
corners: bevel 10px / round 20% 30px / none / squircle 3px;
```

This way, authors can be sure that the radius they provide is attached to a particular shape and doesn't individually fall back to border-radius.



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


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

Received on Monday, 2 June 2025 16:08:15 UTC