RESOLVED DUPLICATE of bug 70122 70470
[REGRESSION] text color in link always uses visited color
https://bugs.webkit.org/show_bug.cgi?id=70470
Summary [REGRESSION] text color in link always uses visited color
Mike Lawther
Reported 2011-10-19 20:27:50 PDT
Test code: <style> .foo {color: red;} a:visited{ color: green;} </style> <a href> <div class=foo>hello</div> </a> <div class=foo>hello</div> Expected: Both 'hello's are colored red Actual: The 'hello' in the link is colored green This was introduced by http://trac.webkit.org/changeset/97638 (I've confirmed this by building r97637 and r97638 locally).
Attachments
Antti Koivisto
Comment 1 2011-10-20 04:17:57 PDT
I don't see this problem in ToT. I suspect it was fixed by http://trac.webkit.org/changeset/97745
Mike Lawther
Comment 2 2011-10-20 15:18:47 PDT
Ah cool - thanks Antti. I see now that WebKit Nightly has been stuck at r97664 for the last couple of days, which is how my bisect-builds missed the fix.
Antti Koivisto
Comment 3 2011-10-20 15:45:29 PDT
You should land that test case though. I don't think it is covered atm.
Mike Lawther
Comment 4 2011-10-20 17:42:28 PDT
OK - I've changed the colors so that red only shows on error, and filed as https://bugs.webkit.org/show_bug.cgi?id=70568.
Antti Koivisto
Comment 5 2011-10-23 06:35:25 PDT
*** This bug has been marked as a duplicate of bug 70122 ***
Note You need to log in before you can comment on or make changes to this bug.