W3C home > Mailing lists > Public > www-style@w3.org > August 2013

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

From: Florian Rivoal <florian@rivoal.net>
Date: Thu, 01 Aug 2013 23:00:00 +0200
To: www-style@w3.org
Message-ID: <op.w05omap6f5de51@riboaru-nashiosamus-imac-2.local>
On Thu, 01 Aug 2013 22:35:40 +0200, Tab Atkins Jr. <jackalmage@gmail.com>  

> 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

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:30 UTC