W3C home > Mailing lists > Public > www-style@w3.org > February 2011

Re: [css3-media-queries] More granular conditional logic

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 02 Feb 2011 20:31:56 -0500
Message-ID: <4D4A058C.9010703@mit.edu>
To: Antony Kennedy <antony@silversquid.com>
CC: www-style list <www-style@w3.org>
On 2/2/11 6:01 PM, Antony Kennedy wrote:
> But what if I want to target browsers that still support the screen media type, but do *not* support -webkit-transform-3d?

Then you discover that making a media query out of -webkit-transform-3d 
is not a good way to make it detectable?  ;)

> I appreciate we want to keep the syntax simple, but conditional logic ought to be intelligent enough to handle these kinds of statements.

To be able to handle these kinds of statements you need to define a 
syntax that:

1)  Can be parsed without knowing anything about this thing you don't 

2)  Is guaranteed to be a boolean support check.

Again, it's not clear to me that trying to shoehorn support checks into 
media queries is the right thing.

Received on Thursday, 3 February 2011 01:33:02 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:55 UTC