Alex Robinson wrote:

> http://thomas.tanreisoftware.com/?p=11#op9
> (though he's unaware of the :root hack above)
>
> So revisiting the code snippet, we now have:
>
>>>>>
> @media all and (min-width:0px){
> head~body #foo { padding: ... ; } /* Opera 9 */
> :root head~body #foo { padding: <original_value> ; } /* reset  
> Safari 3 */
> }
> <<<<
>
> The same caveats apply though.

On the subject of 'filters', the same site quoted above also has this  
page:
<http://tanreisoftware.com/blog/?p=39#safari>
'Target Safari, WebKit, Shiira and OmniWeb 5'

This is no longer a usable solution to (eventually) distinguish  
between various versions of Safari or targeting the more recent  
versions of WebKit.
The :last-child pseudo-element is *not* supported anymore by WebKit  
(and Safari 3.beta).
It is so nicely and completely br0ken in Safari 2.0.x that the  
developers of WebKit decided to temporarily stop supporting it  
(rather than using a hack to fix it). I'm sure it will make a come- 
back in a future version of WebKit.

Another reason to be extremely cautious with these kind of filters,  
when targeting 'living' browsers.

Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>




______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to