Re: [csswg-drafts] [css-shapes-2] Maybe add superellipse/squircle etc as basic shapes? (#11620)

> > Change everywhere that says `border-radius` to `corner`, which would resolve to `[ border-radius && <<corner-shape-value>>?]`.
> 
> I assume you mean `[ <'border-radius'> && <corner-shape-value>? ]`, right?

Yes

> 
> > ```
> > corner [to | by] [position/coordinates etc.] [ <<corner-shape-value>> ||  [rotate <<angle>>] || [cw | ccw]] 
> > ```
> 
> In CSS we generally refrain from having abbreviations, so I'd vote for using `clockwise` and `counterclockwise` as keywords.

We use `cw` and `ccw` inside `shape()` already for arcs.

> 
> So, writing the whole syntax out, I guess this should be
> 
> <corner-command> = corner
>         [ <corner-shape-value> || rotate <angle> || [ clockwise | counterclockwise ] ]
>         [ [ to <position> ]
>         | [ by <coordinate-pair> ] ]
> Sebastian

Something like this, yes.

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


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

Received on Wednesday, 20 August 2025 13:58:21 UTC