Re: [csswg-drafts] [css-color-5] Should relative `rgb()`/`rgba()` and relative `hsl()`/`hsla()` serialize exactly as declared? (#10327)

My preference here would be to serialize:

 `rgb(from ...)` and `rgba(from ...)` as `rgb(from ...)`
 `hsl(from ...)` and `hsla(from ...)` as `hsl(from ...)`

This loses no useful information, and is minimal, which generally CSS serialization tries to achieve.

It's not a huge deal, implementation wise, to preserve the specific spelling for serialization, so whatever is decided here is fine.

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


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

Received on Wednesday, 22 May 2024 17:51:02 UTC