Bug 82335

Summary: [test case] KHTML renders definition lists incorrectly
Product: [Applications] konqueror Reporter: Klaus Wolf <yanestra>
Component: khtml parsingAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Part of the Python documentation showing a DT part not displayed

Description Klaus Wolf 2004-05-27 22:38:09 UTC
Version:            (using KDE KDE 3.2.2)
Installed from:    Gentoo Packages
Compiler:          gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
 
OS:                Linux

KHTML appears to render certain definition lists <DL> incorrectly. The <DT> part doesn't appear at all under certain circumstances. Found while reading the Python documentation Python-Docs-2.3.3/lib/re-syntax.html where the \escapes became invisible.

See attached example.
Comment 1 Klaus Wolf 2004-05-27 22:40:36 UTC
Created attachment 6150 [details]
Part of the Python documentation showing a DT part not displayed

I don't know if it's perfectly correct HTML, but these lines I copied from the
Python manual seems to be rendered incorrectly.
Comment 2 Stephan Kulow 2004-05-28 10:57:04 UTC
No, this is not correct HTML and you might want to report it to the python maintainers. 

I wonder why they use <dl compact> (which is correct HTML) when they put a <P> in there (which is not correct).

Send your snippet through tidy to see how it looks as correct HTML (and as such it's rendered correctly by konqueror)
Comment 3 Allan Sandfeld 2004-10-05 21:48:12 UTC

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