- From: yarusome via GitHub <sysbot+gh@w3.org>
- Date: Thu, 08 Jun 2023 00:48:32 +0000
- To: public-css-archive@w3.org
yarusome has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-easing-2] Simplify the syntax of `<linear-stop-list>` ==
[2.1.1 Syntax](https://drafts.csswg.org/css-easing-2/#linear-easing-function-syntax) defines `<linear-stop-list>` as:
```
<linear-stop-list> = [ <linear-stop> ]#
```
and Step 3 of [2.1.2 Parsing](https://drafts.csswg.org/css-easing-2/#linear-easing-function-parsing) states that:
> If there are less than two items in *stopList*, then return *failure*.
Comparing to the [syntax](https://drafts.csswg.org/css-images-4/#color-stop-syntax) of `<color-stop-list>`:
```
<color-stop-list> =
<linear-color-stop> , [ <linear-color-hint>? , <linear-color-stop> ]#
```
it seems more straightforward to define that:
```
<linear-stop-list> = [ <linear-stop> ]#{2,}
```
and drop Step 3 mentioned above.
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8932 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 8 June 2023 00:48:34 UTC