Re: [css-color] Computed value of device-cmyk()

On Wed, Mar 26, 2014 at 3:21 PM, Simon Sapin <simon.sapin@exyr.org> wrote:
> https://dvcs.w3.org/hg/csswg/raw-file/931f8a9374a1/css-color/Overview.html#cmyk-colors
> says:
>> If the user agent has information about the output device such that
>> it believes it can accurately convert the CMYK color to a correct RGB
>> color, the computed value of the device-cmyk() function must be that
>> RGBA color. Otherwise, the computed value must be the fallback color.
>
> Can this be a used value rather a computed value?
>
> Unless we really intend to have the effects on the inherited value and
> getComputedStyle(), doing this kind of tweaks at computed-value-time adds
> implementation complexity needlessly. (Which as usual leads to risk of some
> implementations accidentally getting this wrong, hurting interop, etc.)

Why does this need to wait until used-value time?  There's nothing
about this that depends on layout-information - it should be purely
*ambient* information.

~TJ

Received on Thursday, 27 March 2014 18:20:34 UTC