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

Re: [css3] "Selectors that People Actually Use"

From: Brad Kemper <brkemper@comcast.net>
Date: Wed, 20 Feb 2008 22:42:57 -0800
Message-Id: <5A3DCBB2-3FBC-40F8-92B5-D6B1ABD85C29@comcast.net>
Cc: Alan Gresley <alan1@azzurum.com>, www-style@w3.org
To: Boris Zbarsky <bzbarsky@MIT.EDU>


On Feb 20, 2008, at 7:45 PM, Boris Zbarsky wrote:

>
> Alan Gresley wrote:
>> If I wish to correctly use selectors, then I must wait until most  
>> UA support
>> 'background-size' before I can use this progressive enhancement.
>
> Or create designs in which that property not being applied is OK, yes.
>
>> div.x {background: url(galaxy.jpg) center} div.x[class*=""]:not 
>> (:first-child)
>> {background: url(galaxy.png);background-size: 100% 100%;}
>
> Which will break as soon as a UA supports *="" but not background- 
> size....  Say Gecko 1.9.
>
> -Boris
>

Yeah, it sure would be nice if we could target a particular rendering  
engine (and version) when we know about its capabilities (or lack  
thereof), without resorting to hacks. Alas.
Received on Thursday, 21 February 2008 06:43:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:01 GMT