[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Bug#9058: Missing line breaks in HTML list
From:       Malte.Starostik () t-online ! de (Malte Starostik)
Date:       2000-09-30 6:23:22
[Download RAW message or body]

> Inside a <pre> block, list formatting seems to be ignored.  Take the 
following
> test case:
> 
> <html>
> <head>
> <title>Index</title>
> </head>
> <body>
> <pre>
> <ul>
> <li>ABC</li>
> <li>DEF</li>
> </ul>
> </pre>
> </body>
> </html>
> 
> Netscape 4.73 renders it something like this:
> 
> o ABC
> o DEF
> 
> while Konqueror renders it as
> 
> ABCDEF
> 
> Unfortunately, I don't have any idea which rendering is technically correct 
> according to the HTML specification.
Neither,
UL's are block elements and as such not allowed within a PRE block. Therefore 
the above testcase is invalid HTML.
Netscape's behaviour is definately more fault-tolerant, it renders the page 
most probably as the author intended.
KHTML doesn't do it wrong, it ignores the list elements and just renders the 
text, it could as well just display nothing. But agreed, at least the 
linebreaks should be kept.
-Malte

To kfm-devel: Is it desirable to adopt Netscape's way and add yet another 
broken-html-compatibility kludge or should it remain as is?

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic