Bug 9279

Summary: Quirksmode: Hover with adjacent selector doesn't work
Product: WebKit Reporter: Adele Peterson <adele>
Component: CSSAssignee: Dave Hyatt <hyatt>
Status: RESOLVED FIXED    
Severity: Normal CC: bfults, bugs-webkit, eric, ian, idliketowork, m, raf, sjoerd, webkit
Priority: P2 Keywords: HasReduction
Version: 420+   
Hardware: All   
OS: All   
URL: http://sonofhans.net/css/snippets/adjacent_siblings_safari.html
Bug Depends on:    
Bug Blocks: 9610, 12520    
Attachments:
Description Flags
Test case (:hover + :focus)
none
Fixes the problem sam: review+

Description Adele Peterson 2006-06-02 15:09:22 PDT
http://www.quirksmode.org/bugreports/archives/safari/index.html

"The hover selector combined with an adjacent selector (dt:hover + dd { color : red; }) works buggily (Safari) or not at all (Opera), while these browsers support the two of them separately.

Test page http://sonofhans.net/css/snippets/adjacent_siblings_safari.html
Workaround is not included
Reported by: Randall Hansen."
Comment 1 Joost de Valk (AlthA) 2006-06-24 14:15:51 PDT
Good testcase, bug in component CSS.
Comment 2 Mark Rowe (bdash) 2006-10-30 04:30:00 PST
*** Bug 11006 has been marked as a duplicate of this bug. ***
Comment 3 Sjoerd Tieleman (tieleman) 2008-01-30 04:56:13 PST
Created attachment 18791 [details]
Test case (:hover + :focus)

Verified that this is still an issue in the nightly builds and not only occurs when using the :hover pseudoclass, but also when using :focus. Camino renders this correctly.
Comment 4 Robert Blaut 2008-02-11 11:44:20 PST
Similar bug 12998
Comment 5 Robert Blaut 2008-02-21 11:59:15 PST
*** Bug 17477 has been marked as a duplicate of this bug. ***
Comment 6 Dave Hyatt 2008-03-19 11:46:35 PDT
Created attachment 19886 [details]
Fixes the problem

I'll make a test case using class manipulation.
Comment 7 Sam Weinig 2008-03-19 11:59:47 PDT
Comment on attachment 19886 [details]
Fixes the problem

r=me.  (pending changelog and test)
Comment 8 Dave Hyatt 2008-03-20 11:11:59 PDT
Fixed.
Comment 9 Dave Hyatt 2008-03-20 20:42:58 PDT
*** Bug 17976 has been marked as a duplicate of this bug. ***