Re: [csswg-drafts] [css-color-5] Invalid value definition of `<rgb()>` (#7363)

That one is odd, agreed, but deliberate, and an attempt at backwards compat.

The first two lines are CSS Color 4 formats (without `from <color>`) and require either three `number` or three `percentage`. The third line is Relative Color Syntax, and we allowed  `number` and `percentage` to be freely mixed there (because people kept mixing them in examples).

However, given that these are all the non-legacy comma-less form, and given that `none` was a relatively late addition, I am not sure that this is really buying us much in terms of Web compat or browser compat.

@tabatkins @LeaVerou @argyleink @una thoughts?

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


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

Received on Wednesday, 15 June 2022 13:42:33 UTC