Bug 166450

Summary: does not load stylesheets for this site?
Product: [Applications] konqueror Reporter: sts
Component: generalAssignee: Konqueror Developers <konq-bugs>
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description sts 2008-07-13 16:48:27 UTC
Version:           4.00.85 (KDE 4.0.85 (KDE 4.1 >= 20080703) "release 4.3" (using 4.00.85 (KDE 4.0.85 (KDE 4.1 >= 20080703) "release 4.3", KDE:KDE4:Factory:Desktop / openSUSE_11.0)
Compiler:          gcc
OS:                Linux (x86_64) release

If I open this url:

it looks like missing css?!
Comment 1 Dario Andres 2008-07-25 01:25:28 UTC
I can confirm this bug in KDE 4.1.00 (KDE 4.0.99 (4.1 RC1+)) (KDEmod)

Reloading doesn't load the CSS.

Opera and Firefox3 display the website correctly.

When using the WebKit engine (SVN rev 833699) inside Konqueror it displays the website correctly too. So it maybe a KHTML bug.
Comment 2 Timo Gurr 2008-07-25 22:57:17 UTC
Same here using KDE from SVN:
Qt: 4.4.0
KDE: 4.1.60 (KDE 4.1.60 (KDE 4.2 >= 20080709))
Konqueror: 4.1.60 (KDE 4.1.60 (KDE 4.2 >= 20080709))
Comment 3 Maksim Orlovich 2008-07-30 18:03:18 UTC
SVN commit 839700 by orlovich:

Now that the HTML parser adds doctype nodes, it can no longer be sure that the
<html> will be the first child of #document, so use ->documentElement() instead.
Restores recovery from mis-structured head/body, w/o which we could even lose 
<style> or <title> elements in some cases of malformed input

 M  +5 -5      htmlparser.cpp  

WebSVN link: http://websvn.kde.org/?view=rev&revision=839700
Comment 4 Maksim Orlovich 2008-07-30 18:15:03 UTC
SVN commit 839703 by orlovich:

Regression test for 167717/166450


 A             baseline/parser/167717.html-dom  
 M  +3 -1      baseline/parser/svnignore  
 A             tests/parser/167717.html  

WebSVN link: http://websvn.kde.org/?view=rev&revision=839703