[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/khtml2/impl
From:       Rob Buis <rwlbuis () xs4all ! nl>
Date:       2005-05-31 21:08:03
Message-ID: 1117573683.543492.6161.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 420352 by buis:

We can enable this code now.


 M  +4 -3      HTMLTableCellElementImpl.cc  


--- trunk/kdenonbeta/khtml2/impl/HTMLTableCellElementImpl.cc #420351:420352
@@ -27,6 +27,7 @@
 
 #include "HTMLDocumentImpl.h"
 #include "HTMLTableCellElementImpl.h"
+#include "HTMLTableElementImpl.h"
 #include "htmlattrs.h"
 
 #include <kdom/css/impl/cssproperties.h>
@@ -77,7 +78,7 @@
 		break;
 		case ATTR_BORDER:
 			// euhm? not supported by other browsers as far as I can see (Dirk)
-			//addCSSLength(CSS_PROP_BORDER_WIDTH, attr->value());
+			addCSSLength(CSS_PROP_BORDER_WIDTH, attr->value());
 			break;
 		case ATTR_ROWSPAN:
 			// ###
@@ -117,7 +118,7 @@
 	HTMLElementImpl* p = static_cast<HTMLElementImpl*>(parentNode());
 	while(p && p->id() != ID_TABLE)
 		p = static_cast<HTMLElementImpl*>(p->parentNode());
-#if 0
+
 	if(p)
 	{
 		HTMLTableElementImpl* table = static_cast<HTMLTableElementImpl*>(p);
@@ -138,7 +139,7 @@
 				addCSSProperty(CSS_PROP_BORDER_COLOR, CSS_VAL_INHERIT);
 		}
 	}
-#endif
+
 	HTMLTablePartElementImpl::attach();
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic