Version: (using KDE KDE 3.2.1) Installed from: Gentoo Packages Compiler: (gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)) OS: Linux KTHML can't handle internal links which have the id tag on a random element. The problem exists in Konqueror and Safari as far as I know. Example: <h1 id="chapter1">Chapter 1</h1> It is correct XHTML 1.1 though. KHTML acts as if the internal link isn't there. If it is provided in the URL, KHTML doesn't jump to the chapter tag. So basically http://url#chapter1 is treated as if it were http://url Gecko (Mozilla Firefox, Mozilla, Epiphany, etc...) renders this correctly. My homepage could serve as a test case: http://lumumba.luc.ac.be/jo/this_website/#png This should jump to the <h4 id="png">PNG</h4> tag. You could validate my homepage to see that it is valid XHTML 1.1. Here's a direct link: http://validator.w3.org/check?uri=http%3A%2F%2Flumumba.luc.ac.be%2Fjo%2Fthis_website%2F Kind regards, Jo Vermeulen
Seen with KDE_3_2_BRANCH (post 3.2.2) konqueror as well.
seen with kde 3.3.1
This happens for me with regular anchor tags as well. In my case, this problem was present in 3.2.x, disappeared in 3.3.1, and is back in 3.3.2
Could the reporter attach a new test case, the link above doesn't appear to valid any longer.
The described problem still persists in Konqueror 3.5.5 and 3.5.7 (tested on openSUSE 10.2 and 10.3) if the id anchor is a <tr> element in a table. Test URL to demonstrate this bug: http://www.cl.cam.ac.uk/~mgk25/konqueror-id-bug.html#S Expected behavior: this URL should jump in this telephone directory table to names beginning with the letter S. (This works correctly under Firefox and many other browsers.) Actual behavior: Konqueror 3.5.7 jumps to the top of the table, and not to the location of the table row <tr id="S">.
This bug is reproducible in KDE 3.5.9, however it is fixed in svn trunk r795406
This fix may get backported to 3.5, so closing as LATER.