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

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 UTC