[Webkit-unassigned] [Bug 45168] New: CSS multiple adjacent sibling selector sequence is ignored if prefixed with a pseudo-class selector
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 3 02:49:18 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=45168
Summary: CSS multiple adjacent sibling selector sequence is
ignored if prefixed with a pseudo-class selector
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Enhancement
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: pierre.maziere at gmail.com
Created an attachment (id=66479)
--> (https://bugs.webkit.org/attachment.cgi?id=66479)
Test case
The following selector is not matched as it should:
div.a:hover + div.b + div.c {background-color: yellow;}
EXPECTED: when the mouse is dragged over the div.a element, div.c background should change from white to yellow
OBSERVED: when the mouse is dragged over the div.a element, nothing happens
if the :hover pseudo-class, the selector is now:
div.a + div.b + div.c {background-color: yellow;}
EXPECTED: div.c background is yellow
OBSERVED: div.c background is yellow
I have tested this whith several pseudo-classes:
:hover with DIV and A
:active and :focus with A
:checked with input[type=radio]
WebKit nightly build (2010/09/01) always shows the wrong behaviour, ignoring the adjacent sibling selector sequence
Firefox 3.6.8 and Chromium 5 display the XHTML/CSS as expected by the W3C CSS specs
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list