Re: [csswg-drafts] [css-color] Serializing color() values

The issue of serializing colors specified through `rgb()` with decimal channels still hasn't been resolved; the discussion above seemed to imply that `rgb(0.1, 0.1, 0.1)` should be serialized to `rgb(0, 0, 0)` even if the UA does not round the channel when painting.

[The CSSOM spec](https://drafts.csswg.org/cssom/#serializing-css-values) is no clearer; first it is said the "shortest base-ten *integer* serialization" should be used, but the following 7 lines use the "shortest base-ten serialization".

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

Received on Tuesday, 23 January 2018 21:27:50 UTC