Bug 70470
| Summary: | [REGRESSION] text color in link always uses visited color | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mike Lawther <mikelawther> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | hyatt, koivisto, zimmermann |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Mike Lawther
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Antti Koivisto
I don't see this problem in ToT. I suspect it was fixed by http://trac.webkit.org/changeset/97745
Mike Lawther
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
You should land that test case though. I don't think it is covered atm.
Mike Lawther
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
*** This bug has been marked as a duplicate of bug 70122 ***