(*** This bug was imported into bugs.kde.org ***) Package: khtml Version: KDE 3.0.1 Severity: normal Installed from: Compiled From Sources Compiler: gcc version 2.95.4 20010319 (prerelease) OS: Linux OS/Compiler notes: Not Specified Tables whitch contain other tables don't align its contents properly. (CENTER ERROR) You can see at merlin.one.pl. This is displayed properly in Netscape Mozilla IE. (Submitted via bugs.kde.org)
Created attachment 73 [details] test case
CVS commit by mueller: align tables too CCMAIL: 43112-done@bugs.kde.org M +8 -0 html_tableimpl.cpp 1.181 --- kdelibs/khtml/html/html_tableimpl.cpp #1.180:1.181 @@ -547,4 +547,12 @@ void HTMLTablePartElementImpl::parseAttr break; } + case ATTR_ALIGN: + { + DOMString v = attr->value(); + if ( strcasecmp( attr->value(), "center" ) == 0 ) + v = "\\2d khtml-center"; + addCSSProperty(CSS_PROP_TEXT_ALIGN, v); + break; + } case ATTR_VALIGN: {