[Webkit-unassigned] [Bug 29029] New: :focus pseudo-class and general sibling combinator (selector) not working together

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 8 06:25:45 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=29029

           Summary: :focus pseudo-class and general sibling combinator
                    (selector) not working together
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: simast at gmail.com


Created an attachment (id=39181)
 --> (https://bugs.webkit.org/attachment.cgi?id=39181)
Simple test case

The following CSS3 selector:

input:focus ~ div {}

.. will not select preceding <div> element(s).

Notes:

- removing :focus works fine, so it must be a bug with combination of :focus
and ~
- the following selector works fine: input:focus + div
- Gecko/Presto behaves as expected

-- 
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