WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 105672
108111
Hover pseudo-state doesn't affect children
https://bugs.webkit.org/show_bug.cgi?id=108111
Summary
Hover pseudo-state doesn't affect children
Karen
Reported
2013-01-28 13:43:25 PST
according to
http://code.google.com/p/chromium/issues/detail?id=171867
copying content: Example URL:
http://jsfiddle.net/d2V2K/
Steps to reproduce the problem: 1. Hover over divs 2. First a background is changed to blue, others are not What is the expected behavior? <a> background should change to blue when mouse is hovered over div What went wrong? Background color did not change. Adding a rule that modifies the div background color on hover seems to make this rule also work, e.g.:
http://jsfiddle.net/j3TyM/
this broke right around:
http://trac.webkit.org/changeset/136001
Attachments
Add attachment
proposed patch, testcase, etc.
Allan Sandfeld Jensen
Comment 1
2013-01-29 01:05:26 PST
Could this be a duplicate of
bug #105672
?
Allan Sandfeld Jensen
Comment 2
2013-01-29 02:20:21 PST
The issue is somewhat related to 105672, but not fixed by the patch posted there. What happens is that two cousin elements share style, but during styling they have the side effect of setting childrenAffectedBy bits on the parents. This would use to work since the parents were also sharing style, now the parents may have different childrenAffectedBy bits. The simplest solution may be to not allow cousin sharing when the parent elements have rare data.
Allan Sandfeld Jensen
Comment 3
2013-01-29 02:35:48 PST
*** This bug has been marked as a duplicate of
bug 105672
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug