- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Tue, 06 Aug 2024 04:53:14 +0000
- To: public-css-archive@w3.org
cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-shapes-2] Arc size and smooth curve endpoint should not be optional ==
Following [this resolution](https://github.com/w3c/csswg-drafts/issues/5841#issuecomment-2260966191) and the [accepted PR](https://github.com/w3c/csswg-drafts/pull/9797), the syntax of [`<arc-command>`](https://drafts.csswg.org/css-shapes-2/#typedef-shape-arc-command) is `arc [[<by-to> <coordinate-pair>] || [of <length-percentage>{1,2}] || <arc-sweep>? || <arc-size>? || [rotate <angle>]?]`.
`of <length-percentage>{1,2}` is now optional but this does not seem to be the intent of the resolution: *"switch to `using`, allow reordering grammar"*.
The same problem applies to [`<smooth-command> = smooth [[<by-to> <coordinate-pair>] || [using <coordinate-pair>]?]`](https://drafts.csswg.org/css-shapes-2/#typedef-shape-smooth-command).
If this is not intentional, I suggest:
```
<arc-command> = arc [
[<by-to> <coordinate-pair>]!
|| [of <length-percentage>{1,2}]!
|| <arc-sweep>
|| <arc-size>
|| rotate <angle>
]
<smooth-command> = smooth [<by-to> <coordinate-pair> && [using <coordinate-pair>]?]
```
***Note:*** there is a [pending PR](https://github.com/w3c/csswg-drafts/pull/10690) removing the extra `?`.
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10697 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 6 August 2024 04:53:15 UTC