Previous Message
Next Message

adjacent sibling selectors on lists broken in safari?

Sent by Philippe Wittenbergh on 7 February 2005 01:01


On 7 Feb 2005, at 4:50 am, Randall Hansen wrote:

> example:  
> http://sonofhans.net/css/snippets/adjacent_siblings_safari.html
>
> the following snippets, when assembled into a validating page, work as
> expected in mozilla (1.7.2), but not safari (1.2.4):
>
>     dt:hover + dd { color : red; }
>
>     <dt>boris</dt>
>     <dd>black and bitter</dd>
>
> hovering over "boris" should turn "black and bitter" red.  i've read
> much about safari's support for adjacent siblings.  i've also seen
> glimpses of bug reports, but not found specifics.  is this a known
> bug?

I don't know if this particular case is a 'known' bug. I do know that 
Safari still has incomplete support for those more complex selectors, 
particularly on :hover. You could file a bug with Apple for this, esp 
the problem with the < ol >. It is a nice test case.

BTW, it doesn't work either in Opera 8 beta (OS X). The bolding works, 
but the adjacent text is not painted red at all.

Philippe
---/---
Philippe Wittenbergh
now live : <http://emps.l-c-n.com/>
code | design | web projects : <http://www.l-c-n.com/>
IE5 Mac bugs and oddities : <http://www.l-c-n.com/IE5tests/>

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: