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

Re: if conditions again

From: Christoph Päper <christoph.paeper@crissov.de>
Date: Wed, 21 Jul 2010 11:15:42 +0200
Message-Id: <AC550CA5-9E4D-4CB4-853F-CE7444E9C314@crissov.de>
To: www-style list <www-style@w3.org>
Andrew Fedoniouk:
> From: "Christoph Päper" <christoph.paeper@crissov.de>
>> 
>> 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.

No, it’s still just about the media. It’s virtual or simulated in this case, but that doesn’t matter at all.

> For example on e-book with electronic ink displays (…):
> @media handheld and not supports(transition)

No, you want to query for “update frequency” or some such. You don’t need to test for UA capabilities.
Received on Wednesday, 21 July 2010 09:16:16 GMT

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