Re: [css-houdini-drafts] [css-typed-om] Spec up ColorValue

Yeah, the section that was deleted there.  (To see it in-spec, check out that commit's parent, then run bikeshed on it.)  Proposal is to spec up a CSSColorValue abstract base class (like CSSNumericValue, only to group some related methods), and then individual classes corresponding to each of the color functions, with easy inter-conversion between them.

(Since everything but device-cmyk() has a colorspace associated with it, interconversion is pretty simple.)

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

Received on Thursday, 17 August 2017 18:04:21 UTC