Version: (using KDE 4.2.2) OS: Linux Installed from: Debian testing/unstable Packages In the following example Konqueror displays the list items in one row. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML //EN"> <html> <body> <li>item 1</li> <li>item 2</li> <li>item 3</li> <li>item 4</li> </body> </html> WebKit 4.5.1 and konq 3.5 works well, ff3 displays items in columns without bullets. Removing DOCTYPE declaration solves the problem. I think that's the cause of the glitch in http://lists.debian.org/debian-kernel/2009/05/threads.html thanks.
Thanks for the bug report. I can confirm this in trunk (968518). On the one hand, the HTML code is invalid, so one should maybe not consider the unexpected rendering as a bug, but on the other hand, it might be desirable to be consistent with other browsers. Note that the DOCTYPE declaration is a bit strange because it contains neither "strict" nor "transitional" - it also works if you replace it by <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> I assume that Konqueror interprets the DOCTYPE of your test case as "strict", that's why it doesn't treat the invalid HTML code as expected. Might be a duplicate of bug 171435 (another issue where an invalid page claiming to be "strict" HTML is not rendered as expected).
Gecko renders it in strict mode as well... I think it's more strict mode HTML5-style parsing related silliness.
Created attachment 38712 [details] online testcase
Confirmed in 4.5.4, updating version.
Reproducible in 4.6.3 as well