Re: [csswg-drafts] [css-images-4] Relax color interpolation method syntax in gradients (#7986)

Also, I think that all gradient syntaxes are incorrect because they all require one or more (`||`) of: 

- the gradient line parameters 
- the color interpolation method followed by comma followed by the color stop list

```
conic-gradient([[from <angle>]? [at <position>]?] || <color-interpolation-method>, <angular-color-stop-list>)
linear-gradient([<angle> | to <side-or-corner>]? || <color-interpolation-method>, <color-stop-list>)
radial-gradient([[<ending-shape> || <size>]? [at <position>]?] || <color-interpolation-method>, <color-stop-list>)
```

I think that the intent is:

```
conic-gradient([[from <angle>]? [at <position>]?] || <color-interpolation-method>]?, <angular-color-stop-list>)
linear-gradient([<angle> | to <side-or-corner>] || <color-interpolation-method>]?, <color-stop-list>)
radial-gradient([[<ending-shape> || <size>]? [at <position>] || <color-interpolation-method>]?, <color-stop-list>)
```

Obviously, the color stop list is mandatory.

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


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

Received on Monday, 31 October 2022 20:14:46 UTC