RESOLVED WORKSFORME 40466
"span:hover + img + p" does not match the elements it's supposed to
https://bugs.webkit.org/show_bug.cgi?id=40466
Summary "span:hover + img + p" does not match the elements it's supposed to
Magne Andersson
Reported 2010-06-11 02:05:35 PDT
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).
Attachments
Brent Fulgham
Comment 1 2022-07-11 17:16:03 PDT
Please provide a test case if you continue to see a problem.
Note You need to log in before you can comment on or make changes to this bug.