Bug 86414 - [testcase] Konqueror does not close <A> in old-style HTML
Summary: [testcase] Konqueror does not close <A> in old-style HTML
Status: RESOLVED DUPLICATE of bug 20976
Alias: None
Product: konqueror
Classification: Applications
Component: khtml parsing (show other bugs)
Version: 3.2.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-02 07:22 UTC by Wilbert Berendsen
Modified: 2005-03-22 12:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
a testcase that shows konqueror missing the </A> tag (169 bytes, text/html)
2004-08-02 07:23 UTC, Wilbert Berendsen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wilbert Berendsen 2004-08-02 07:22:30 UTC
Version:           3.2.2 (using KDE 3.2.2,  (testing/unstable))
Compiler:          gcc version 3.3.3 (Debian 20040401)
OS:                Linux (i686) release 2.4.26

On some sites (e.g. http://www.tlig.org/nl/nlwrtng.html) that use old, sgml-style HTML, Konqueror does not close A-elements properly when there are other elements within that are not closed, like <P>.

This is the HTML, also attached as a testcase:

<HTML><HEAD></HEAD><BODY>

<A HREF=nowhere.html><P><IMG SRC=myimg.png ALT=myimg.png ALIGN=LEFT></A>

<P>This is normal text and should not be clickable.

</BODY></HTML>
Comment 1 Wilbert Berendsen 2004-08-02 07:23:56 UTC
Created attachment 6963 [details]
a testcase that shows konqueror missing the </A> tag

btw, as I'm on holiday, with knoppix, I could not test the most recent CVS
version :-)
Comment 2 Stephan Kulow 2004-08-02 14:36:05 UTC
you call that old-style HTML? I call that broken HTML :)
Comment 3 Allan Sandfeld 2005-03-22 12:20:09 UTC
Fixed by Apple's residual style patch.

*** This bug has been marked as a duplicate of 20976 ***