[csswg-drafts] [cssom-1][css-color-4] Move serialization of `<color>` and `<alpha-value>` (#9798)

cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts:

== [cssom-1][css-color-4] Move serialization of `<color>` and `<alpha-value>` ==
According to https://github.com/w3c/csswg-drafts/issues/7870#issuecomment-1277889963, how to serialize `<color>` should be removed from CSSOM and how to serialize `<alpha-value>` should be moved to CSS Color 4.

If I am not mistaken, the algorithm for `<alpha-value>` is required when stored internally as an 8-bit integer, which seems to be the case for most browsers (if not all), and helps explaining why `0.499` may be serialized to `0.498`, for example.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9798 using your GitHub account


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

Received on Monday, 15 January 2024 13:56:25 UTC