Re: [csswg-drafts] [css-colors-5] Minor syntax problems (#9445)

  > Would you like to send a PR for 1, 3, 4 or should I (or @svgeesus) make the changes?

Please do the changes. Productions for each color channel do not make the syntax more readable (imo) but it is less error prone, indeed.

```
lab() = lab( <color-component-number>
      <color-component-number>
      <color-component-number>
      [ / <color-component-alpha> ]? )

lab() = lab( [<percentage> | <number> | none]
      [ <percentage> | <number> | none]
      [ <percentage> | <number> | none]
      [ / [<alpha-value> | none] ]? )
```

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


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

Received on Friday, 6 October 2023 18:56:59 UTC