- From: carlosame via GitHub <sysbot+gh@w3.org>
- Date: Fri, 28 May 2021 16:19:46 +0000
- To: public-houdini-archive@w3.org
carlosame has just created a new issue for https://github.com/w3c/css-houdini-drafts: == [css-typed-om] Color models and color spaces are mixed in CSSColorValue == CSSColorValue has a [colorSpace](https://drafts.css-houdini.org/css-typed-om-1/#dom-csscolorvalue-colorspace) attribute that can have values like "rgb", "hsl", "hwb" or "device-cmyk". However, those aren't exactly color spaces but color models instead. Reading other issues, it seems that "rgb" implies sRGB but I find it a bit confusing, and then one has `to("srgb")` and `to("rgb")` returning different objects as mentioned here: https://github.com/w3c/css-houdini-drafts/issues/1036#issuecomment-840650632. I suggest having both `colorSpace` and `colorModel`, with `colorModel` having the same kind of values as the current `colorSpace`, and the new `colorSpace` containing the actual color space (sRGB, p3, ...). Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/1044 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 28 May 2021 16:19:51 UTC