Re: [csswg-drafts] [css-color][css-values] Parsing/Serialization behavior for rgb/hsl/hwb colors with calc() containing font/container/viewport relative lengths (#10730)

Following what was [resolved](https://github.com/w3c/csswg-drafts/issues/10328#issuecomment-2162716286) for mixed color functions (relative and `color-mix()`) would be consistent:

  - `rgba()` → `rgb()`
  - `hsla()` → `hsl()`
  - whitespace separated arguments

Fwiw, as I already commented in the linked issue, I think that not omitting unitary `<alpha-value>` here would also be againt the shortest serialization principle, and I think resolving `<hue>` and `<percentage>` to `<number>` might also be more consistent.

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


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

Received on Tuesday, 13 August 2024 07:13:12 UTC