[csswg-drafts] [css-shapes] [css-images-3] `<radial-size>` syntax seems incorrect (#10812)

romainmenke has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-shapes] [css-images-3] `<radial-size>` syntax seems incorrect ==
https://drafts.csswg.org/css-images-3/#typedef-radial-size

```
<radial-size> = <radial-extent> | <length [0,∞]> | <length-percentage [0,∞]>{2}
```

This syntax does not allow despite that being the implemented feature:

```css
clip-path: ellipse(closest-side closest-side at 5rem 6rem);
```


I think this was a regression in https://github.com/w3c/csswg-drafts/pull/9723

Grouping it seems to resolve the issue:

```
<radial-size> = [ <radial-extent> | <length [0,∞]> | <length-percentage [0,∞]> ]{2}
```

But I am not that familiar with the feature, so my suggestion might be incorrect.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10812 using your GitHub account


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

Received on Saturday, 31 August 2024 20:35:52 UTC