Bug 96012

Summary: KHTML renders CSS correctly on reload only
Product: [Applications] konqueror Reporter: Luke-Jr <luke-jr+kdebugs>
Component: khtmlAssignee: Maksim Orlovich <maksim>
Status: RESOLVED WORKSFORME    
Severity: normal CC: maksim
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Demonstrates the rendering bug

Description Luke-Jr 2004-12-30 02:51:11 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc (GCC) 3.4.3  (Gentoo Linux 3.4.3, ssp-3.4.3-0, pie-8.7.6.6)
 
OS:                Linux

Not sure the exact cause, but my resume renders (with the 2pg stylesheet) strangely when originally opened. It works, however, after a reload.
Comment 1 Luke-Jr 2004-12-30 02:52:19 UTC
Created attachment 8857 [details]
Demonstrates the rendering bug

Here's a (modified) copy of the bug-causing fileset.
Comment 2 Allan Sandfeld 2005-04-02 20:38:35 UTC
I've seen this kind of behavior many places
Comment 3 Maksim Orlovich 2006-02-17 03:43:58 UTC
It's on my TODO to fix this. Anti-FOUC code + messy state management = unstyled content.
Comment 4 Tristan Hoffmann 2008-03-20 21:50:38 UTC
Can't reproduce this with KDE 3.5.7. It looks exactly the same after reloading.

Please feel free to reopen, if you can still reproduce this with a more recent Konqueror.
Comment 5 Luke-Jr 2008-03-20 22:15:47 UTC
I think it works in KHTML now. Interestingly, Firefox 2 and 3 exhibit the same problem.