- From: Simon Fraser via GitHub <sysbot+gh@w3.org>
- Date: Thu, 01 Aug 2024 22:16:48 +0000
- To: public-css-archive@w3.org
smfr has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-shapes-1] `ellipse()` grammar doesn't allow the two-radial-size keyword form ==
In [CSS Shapes 1](https://drafts.csswg.org/css-shapes/), the grammar for ellipse is:
```
<ellipse()> = ellipse(
<radial-size>?
[ at <position> ]?
)
```
where [radial-size](https://drafts.csswg.org/css-images-3/#typedef-radial-size) is
```
<radial-extent> | <length [0,∞]> | <length-percentage [0,∞]>{2}
```
This appears to only allow a single `<radial-extent>` keyword, which would result in a circle. Browsers support two `<radial-extent>` keywords; the `https://wpt.fyi/results/css/css-shapes/parsing/shape-outside-valid.html` WPT has: `ellipse(closest-side closest-side at 60% 70%)` which all browsers support.
So I think the grammar needs updating somehow.
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10665 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 1 August 2024 22:16:49 UTC