Bug 52414

Summary: local visited links aren't marked in purple if a CSS stylesheet is not specified
Product: [Applications] konqueror Reporter: Shlomi Fish <shlomif>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandrake RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Shlomi Fish 2002-12-30 14:02:04 UTC
Version:            (using KDE KDE 3.0.99)
Installed from:    Mandrake RPMs
OS:          Linux

If a CSS stylesheet for an HTML document, a visited local link will not be marked with purple colour. A demonstration can be found here:

http://vipe.technion.ac.il/~shlomif/khtml-bugs/local-links/bad.html

and here:

http://vipe.technion.ac.il/~shlomif/khtml-bugs/local-links/good.html

By the first, pressing the "Local Link" link which leads to the second and pressing "Local Link" again (and again). One can see that it is highlighted in good.html, but not in bad.html.

The only difference betweent the two pages is that good.html has an empty <style></style> section.
Comment 1 Dirk Mueller 2003-01-03 20:32:34 UTC
Subject: kdelibs/khtml

CVS commit by mueller: 

generate the initial style selector with the correct document URL. 
CCMAIL: 52414-done@bugs.kde.org


  M +7 -10     css/cssstyleselector.cpp   1.244
  M +1 -1      khtml_part.cpp   1.787
  M +4 -3      xml/dom_docimpl.cpp   1.206