Re: [csswg-drafts] [css-color-4] `rgba()` is legacy so does not support `none`. Right? (#7900)

So in CSS Color 5 we would have

```
<legacy-rgb-syntax> = <percentage>#{3} , <alpha-value>? | <number>#{3} , <alpha-value>?
<modern-rgb-syntax> = [<percentage> | <number> | none]{3} [ / [<alpha-value> | none] ]? 
<relative-rgb-syntax> = from <color>  <modern-rgb-syntax>
<rgb-function-name> = rgb | rgba
<rgb()> = <rgb-function-name>( [ <legacy-rgb-syntax> | <modern-rgb-syntax> | <relative-rgb-syntax> ] )
```

Two changes there, one to add RCS and one to make modern syntax accept a mixture of `<number>` and `<percentage>`.

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


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

Received on Wednesday, 16 November 2022 16:30:15 UTC