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

I no longer remember the details of all related issues and resolutions but I kept this grammar as a note:

```
<circle()> = circle( <circle-size>? [ at <position> ]? )
<ellipse()> = ellipse( <ellipse-size>? [ at <position> ]? )
<radial-gradient-syntax> = [ [ circle || <circle-size> ] [ ellipse || <ellipse-size> ]]?
                           [ at <position> ]?
                           , <color-stop-list>

<circle-size>  = closest-corner | farthest-corner | <radial-radius>
<ellipse-size> = closest-corner | farthest-corner | <radial-radius>{1,2}

<radial-radius> = closest-side | farthest-side | <length-percentage [0,∞]>
```

It could be simplified even further if two `*-corner` can be used to define an ellipse, which I am not sure about (#10833).

`*-corner` also define a radial radius but I could not come up with a better production name than `<radial-radius>` to reuse `*-size` and `<length-percentage>`.

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


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

Received on Monday, 20 April 2026 17:07:26 UTC