Version: 3.2.0 (using KDE 3.2.0 RC1, SuSE) Compiler: gcc version 3.3.1 (SuSE Linux) OS: Linux (i686) release 2.4.21-166-smp4G Looks like konqueror stops parsing of style sheets when the last declaration in a block is incorrect. I found this in KDE 3.1.94 and 3.1.95, it was not present in 3.1.4. In the following example the background of the table cell is still the page background (class "footer" is not used in the document, but the syntax error obviously prevents definition of "groupCell"): <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title> TWiki.HRZ.WebHome </title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <style type="text/css"> body {font-family: arial, helvetica, sans-serif; background: #003366; color: black;} .footer{font-size:small; color="#FFFFFF"} .groupCell {background: #d0d0d0;} </style> </head> <body> <table border=0 cellspacing=0 cellpadding=2 align=center><tr> <td class=groupCell>Main</td> </tr></table> </body> </html> While ignoring the incorrect rule is probably OK, the following rules should be used for rendering. Without the rule for ".footer", it is rendered correctly: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title> TWiki.HRZ.WebHome </title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <style type="text/css"> body {font-family: arial, helvetica, sans-serif; background: #003366; color: black;} .groupCell {background: #d0d0d0;} </style> </head> <body> <table border=0 cellspacing=0 cellpadding=2 align=center><tr> <td class=groupCell>Main</td> </tr></table> </body> </html> It also works when the bad declaration is not the last one: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title> TWiki.HRZ.WebHome </title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <style type="text/css"> body {font-family: arial, helvetica, sans-serif; background: #003366; color: black;} .footer{font-size=small; color:"#FFFFFF"} .groupCell {background: #d0d0d0;} </style> </head> <body> <table border=0 cellspacing=0 cellpadding=2 align=center><tr> <td class=groupCell>Main</td> </tr></table> </body> </html> The examples are also available online: http://homepages.tu-darmstadt.de/~weichert/wiki/wiki_test1.html http://homepages.tu-darmstadt.de/~weichert/wiki/wiki_test2.html http://homepages.tu-darmstadt.de/~weichert/wiki/wiki_test3.html regards, Ralph
Oops, looks like some version information got lost on the way. 3.1.94 and 3.1.95 were SuSE 9.0 binaries (ix86) from kde.org, the 3.1.4 was the one shipped with this distribution.
*** Bug 64961 has been marked as a duplicate of this bug. ***
*** Bug 63500 has been marked as a duplicate of this bug. ***
Applied patch listed from bug 64961 to kdelibs 3.2.0, which reportedly fixed this in the rc's, however the issue persisted.
Who says? http://bugs.kde.org/show_bug.cgi?id=73086 is still open, noone said it's fixed for 3.2.0
In KDE 3.2.2, all the test pages look the same, so I guess it's fixed now. Thanks!
I'm kind of suprised the bug was still open. we spent quite some time on the test cases - and they were added in january to our regression test suite :)