RESOLVED DUPLICATE of bug 7218 3578
:hover in a class on <font> is allowed
https://bugs.webkit.org/show_bug.cgi?id=3578
Summary :hover in a class on <font> is allowed
Joost de Valk (AlthA)
Reported 2005-06-16 15:23:15 PDT
see upcoming attached testcase, on hover the textcolor changes because of the font tag around it, which has a class with a :hover selector.
Attachments
testcase (242 bytes, text/html)
2005-06-16 15:24 PDT, Joost de Valk (AlthA)
no flags
test case reduction, #2 (272 bytes, text/html)
2006-02-10 12:23 PST, jonathanjohnsson
no flags
Joost de Valk (AlthA)
Comment 1 2005-06-16 15:24:02 PDT
Created attachment 2406 [details] testcase
Joost de Valk (AlthA)
Comment 2 2005-06-16 15:25:18 PDT
Reported by ashanks on #webkit
Eric Seidel (no email)
Comment 3 2005-12-28 00:00:56 PST
Yeah, this should be an easy fix. I'm not sure where the pseudo-style disallowing code is. cssstyleselector.cpp would be my first guess. This is probably a <5 minute fix for anyone familiar enough with the pseudo style system.
Maciej Stachowiak
Comment 4 2006-02-07 20:15:55 PST
I think this is a bad reduction. Firefox shows the hover color on the test case, but not on the original page.
jonathanjohnsson
Comment 5 2006-02-10 12:23:14 PST
Created attachment 6396 [details] test case reduction, #2 This reduction shows the same behaviour as the reported page.
Joost de Valk (AlthA)
Comment 6 2006-02-15 02:23:06 PST
IE doesn't change color in the second testcase, we do, should be fixed.
mitz
Comment 7 2006-02-15 08:39:48 PST
The fix for bug 7218 will prevent the text from changing color in the second testcase, but I don't know whether this bug is simply a dupe of bug 7218. I guess a more specific testcase is needed here.
mitz
Comment 8 2006-02-17 00:24:15 PST
*** This bug has been marked as a duplicate of 7218 ***
Note You need to log in before you can comment on or make changes to this bug.