W3C home > Mailing lists > Public > www-style@w3.org > July 2010

Re: if conditions again

From: Andrew Fedoniouk <andrew.fedoniouk@live.com>
Date: Tue, 20 Jul 2010 21:20:44 -0700
Message-ID: <bay141-DS12E17B25B7D57717487AA8F8A10@phx.gbl>
To: Christoph Päper <christoph.paeper@crissov.de>, "www-style list" <www-style@w3.org>
--------------------------------------------------
From: "Christoph Päper" <christoph.paeper@crissov.de>
Sent: Monday, July 19, 2010 9:44 PM
To: "www-style list" <www-style@w3.org>
Subject: Re: if conditions again

> Andrew Fedoniouk:
>>
>> 2) Media queries already support requesting capabilities of UA, e.g.
>> current @media (color) {} is exactly
>> @media supports(color) {}
>
> Running on a visual device that supports multi-color output is a very 
> different thing from parsing and interpreting the ‘color’ property or any 
> ‘<color>’ type correctly or from implementing the ‘Color’ module from any 
> level of CSS – which is what ‘supports’ is aimed at (as far as I read).
>
> Employing Media Queries you can query information about the media being 
> rendered onto, not about the renderer itself. Hence the name.
>

UA that renders print preview of document *on screen* will enable @media 
print {} sections and disable @media screen {}.
So @media is about capabilities of UA to render the document on given view. 
That is not exactly output device capabilities.

For example on e-book with electronic ink displays I see great value of 
something like this:
@media handheld and not supports(transition)
{
}
as e-inks in principle cannot do animations.

-- 
Andrew Fedoniouk

http://terrainformatica.com

 
Received on Wednesday, 21 July 2010 04:21:22 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:29 GMT