Bug 3578 - :hover in a class on <font> is allowed
Summary: :hover in a class on <font> is allowed
Status: RESOLVED DUPLICATE of bug 7218
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 412
Hardware: Mac OS X 10.4
: P3 Normal
Assignee: Nobody
URL: http://www.buzzle.com/editorials/6-10...
Keywords: NeedsReduction
Depends on:
Blocks:
 
Reported: 2005-06-16 15:23 PDT by Joost de Valk (AlthA)
Modified: 2006-02-17 00:24 PST (History)
1 user (show)

See Also:


Attachments
testcase (242 bytes, text/html)
2005-06-16 15:24 PDT, Joost de Valk (AlthA)
no flags Details
test case reduction, #2 (272 bytes, text/html)
2006-02-10 12:23 PST, jonathanjohnsson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joost de Valk (AlthA) 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.
Comment 1 Joost de Valk (AlthA) 2005-06-16 15:24:02 PDT
Created attachment 2406 [details]
testcase
Comment 2 Joost de Valk (AlthA) 2005-06-16 15:25:18 PDT
Reported by ashanks on #webkit
Comment 3 Eric Seidel (no email) 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.
Comment 4 Maciej Stachowiak 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.
Comment 5 jonathanjohnsson 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.
Comment 6 Joost de Valk (AlthA) 2006-02-15 02:23:06 PST
IE doesn't change color in the second testcase, we do, should be fixed.
Comment 7 mitz 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.
Comment 8 mitz 2006-02-17 00:24:15 PST

*** This bug has been marked as a duplicate of 7218 ***