Bug 43112 - recurrent tables align incorrectly (merlin.one.pl) (testcase)
Summary: recurrent tables align incorrectly (merlin.one.pl) (testcase)
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml renderer (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-27 00:18 UTC by colt
Modified: 2004-02-13 00:14 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
test case (359 bytes, text/html)
2002-09-25 01:28 UTC, Daniel Naber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description colt 2002-05-27 00:13:15 UTC
(*** 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)
Comment 1 Daniel Naber 2002-09-25 01:28:02 UTC
Created attachment 73 [details]
test case
Comment 2 Dirk Mueller 2004-02-13 00:14:17 UTC
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:
     {