[Webkit-unassigned] [Bug 40466] New: "span:hover + img + p" does not match the elements it's supposed to

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 11 02:05:35 PDT 2010


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

           Summary: "span:hover + img + p" does not match the elements
                    it's supposed to
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bugzilla at zirro.se


While experimenting with my site, I found that "span:hover + img + p" does not match the elements it's supposed to. I had the following CSS (simplified):

img + p {
color: rgba(0, 0, 0, 0);
}

span:hover + img + p {
color: rgba(255, 255, 255, 0.3);
}

And the following HTML:

<span>Magne Andersson</span><img src="me.jpg" height="240" width="320"><p>That's me</p>

This works in Firefox and Opera, but not in Webkit-based browsers (including the latest nightly).

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