Re: [css-houdini-drafts] [css-typed-om] Move ".colorspace" to the color superclass, readonly (#1036)

> Seems like the most straightforward fix is to move ".colorspace" to the `CSSColorValue` superclass, as a readonly property that's automatically set to the corresponding function name, and then make it writable on `CSSColor`.

So, the only object that allows this type of colorspace conversion is `CSSColor`?

And, there is both `.to("rgb")` and `.to("srgb"` which both do the same conversion, but give you different types of object?

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/1036#issuecomment-840647098 using your GitHub account


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

Received on Thursday, 13 May 2021 15:41:03 UTC