Closed Bug 19978 Opened 25 years ago Closed 25 years ago

Visted link colour changes eratic

Categories

(Core :: CSS Parsing and Computation, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: sitsofe, Assigned: pierre)

References

()

Details

1) Follow an univisted link on a page.
2) Now use the go menu or the back button to return the first page.

The link colour of visted link will not have changed. If you go to a different
page (instead of step 2) with that link on, the colour will be correct.

Expected:
Visted link colour to change.

Result:
Visted link colour does not change.

Is this related to other history bugs? (e.g. 13329)

Build ID: 1999111520 Linux
Assignee: leger → radha
Component: Browser-General → History
Assignee: radha → waterson
I think this code currently is in global history. Giving to waterson.
Status: NEW → ASSIGNED
Target Milestone: M14
I'll look at this once webshell is re-written.
Component: History → Layout
troy: it looks like what is happening here is that we are not re-coloring the
link until the anchor receives an event. dp has an internal page that
illustrates the problem in a frameset:

  http://webgroup/~dp/personal/finance

Click on a link in the left-hand pane, but -don't- move the mouse. Note that the
link stays blue. When the page loads in the right hand pane, move the mouse out
of the anchor, and note that its color changes to purple.
Assignee: waterson → troy
Status: ASSIGNED → NEW
oops. reassigned to self. meant to give to you. troy, take a look at the
previous set of comments. looks like anchor colors aren't changing until an
event is received.
Assignee: troy → pierre
Component: Layout → Style System
Link color is a style issue, and not really a layout issue
*** Bug 23465 has been marked as a duplicate of this bug. ***
The original problem was fixed.

I'm going to open a separate bug report for the problem with links not updating 
before the mouse moves. It happens because the nsHTMLAnchorElement doesn't handle 
NS_MOUSE_MOVE.

Marking fixed.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
TWIMC: the new bug is bug 25189.
Yes, this seems fixed with 2000-02-14-16-M14 build.  Marking Verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.