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?

> ```
> 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.

So, writing the whole syntax out, I guess this should be

```ebnf
<corner-command> = corner
        [ <corner-shape-value> || rotate <angle> || [ clockwise | counterclockwise ] ]
        [ [ to <position> ]
        | [ by <coordinate-pair> ] ]
```

Sebastian

-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11620#issuecomment-3205203792 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 09:40:26 UTC