Bug 4941 - Visited links should be marked as visited
Summary: Visited links should be marked as visited
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://samples.msdn.microsoft.com/css...
Keywords:
: 11679 15351 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-11 18:32 PDT by Samuel Allen
Modified: 2008-03-10 17:47 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Allen 2005-09-11 18:32:05 PDT
I was browsing through the features that Firefox 1.5 has and Safari doesn't and I found that in Firefox, 
when you right-click on a link and open it in a new tab or window, the link changes to the "visited" 
color when that new page finishes loading. In ToT, this feature seems to be at least party implemented 
already--when you load a link in a new tab, the link does not change to purple until you click and drag 
off the link and release. Safari knows the link is visited, but it doesn't know to color the link until you 
force the link to re-render (sometimes through a hover effect the link will also change to the visited 
color).

Steps to reproduce:
1. Load this bug page.
2. Find a link that is blue (not visited) and right click on it to open it in a new tab.
3. Link doesn't turn purple as it should when this new tab is loaded.
4. Now, click on the link again and drag away from the link, and release.
5. Link will turn purple.

So basically, what I am asking for is the browser to know to restyle the link (which Safari already knows 
is visited). This bug is for Firefox 1.5 parity.

What should happen is this:
1. Load this bug page.
2. Find a link that is blue (not visited) and right click on it to open it in a new tab.
3. Link turns purple when new page is loaded.

I am not sure if this is a regression or not. Does anyone know if this feature ever worked in older 
Safari's?
Comment 1 Mark Rowe (bdash) 2005-09-11 19:51:48 PDT
Confirmed as a bug in WebKit 412.7 and ToT WebKit.
Comment 2 Johan Bergström 2005-09-18 04:31:53 PDT
> 3. Link turns purple when new page is loaded.

Is the correct behaviour to redraw it only when the page is loaded, or should it
be redrawed on click?
Comment 3 Alexey Proskuryakov 2006-11-27 13:01:12 PST
*** Bug 11679 has been marked as a duplicate of this bug. ***
Comment 4 Alexey Proskuryakov 2006-11-27 13:02:28 PST
Reassigning to webkit-unassigned for more visibility.
Comment 5 mitz 2007-10-03 01:47:06 PDT
*** Bug 15351 has been marked as a duplicate of this bug. ***
Comment 6 Alex Coles 2008-03-06 15:38:51 PST
The following test case from MS CSS Suite fails:

http://samples.msdn.microsoft.com/csstestpages/Chapter_5/link-visted-selector-001.htm

This is with :visited pseudo-class defined.
Comment 7 Darin Adler 2008-03-10 17:47:51 PDT
Committed revision 30949.