- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Wed, 23 Nov 2022 16:22:17 +0000
- To: public-css-archive@w3.org
> `#` does not imply two or more
My previous comment is confusing. `<color-stop-list>` requires two or more `<linear-color-stop>` but the prose in CSS Images 4 allows a single one.
```
<color-stop-list> = <linear-color-stop> , [ <linear-color-hint>? , <linear-color-stop> ]# 
<linear-color-stop> = <color> && <color-stop-length>?
<color-stop-length> = <length-percentage>{1,2}
```
In `radial-gradient(red 0% 50%)`, which is valid, `red 0% 50%` matches the first `<linear-color-stop>` but `, [ <linear-color-hint>? , <linear-color-stop> ]#` has no match but is required.
Maybe it should be `<linear-color-stop> , [ <linear-color-hint>? , <linear-color-stop> ]#?`.
-- 
GitHub Notification of comment by cdoublev
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6425#issuecomment-1325335462 using your GitHub account
-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 23 November 2022 16:22:19 UTC