Re: [mediaqueries] Making the 'color' query static, like CSSOM colorDepth?

On Thu, 01 Aug 2013 22:35:40 +0200, Tab Atkins Jr. <>  

> It turns out that in practice, pixelDepth/colorDepth is worthless in
> the CSSOM, so we've frozen it as just returning a static 24.
> The 'color' media query, though, is basically the same thing.
> Presumably we should apply the same decision, and freeze it as
> returning either 0 or 8 (depending on whether it's monochrome, like
> some e-readers, or color).
> Same thing with 'monochrome', for that matter - freeze it as 0 or 8.
> This won't effect these MQ's use without values - a simple (color) or
> (monochrome) MQ will still be true/false as appropriate. This'll just
> remove the polite fiction that browsers actually return something
> useful with these depth numbers.

While I don't think I see any major problem doing this, I am also not
sure what we gain from it.

  - Florian

Received on Thursday, 1 August 2013 21:00:25 UTC