[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

darin darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 06:47:39 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 6f440f829579e7799205622347a55fa21d257d00
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Oct 8 00:00:31 2002 +0000

    	- fixed 3037353 -- align="middle" elements not horizontally centered
    
            * khtml/html/html_blockimpl.cpp: (HTMLDivElementImpl::parseAttribute):
            * khtml/html/html_tableimpl.cpp: (HTMLTablePartElementImpl::parseAttribute):
    	Handle "middle" same as center in these two places.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2271 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2002-12-03 b/WebCore/ChangeLog-2002-12-03
index e135a3c..77142d8 100644
--- a/WebCore/ChangeLog-2002-12-03
+++ b/WebCore/ChangeLog-2002-12-03
@@ -1,5 +1,13 @@
 2002-10-07  Darin Adler  <darin at apple.com>
 
+	- fixed 3037353 -- align="middle" elements not horizontally centered
+
+        * khtml/html/html_blockimpl.cpp: (HTMLDivElementImpl::parseAttribute):
+        * khtml/html/html_tableimpl.cpp: (HTMLTablePartElementImpl::parseAttribute):
+	Handle "middle" same as center in these two places.
+
+2002-10-07  Darin Adler  <darin at apple.com>
+
 	WebCore part of implementation of multipart forms posting.
 
         * kwq/WebCoreBridge.h: Add a contentType parameter to the bridge's
diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index e135a3c..77142d8 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,5 +1,13 @@
 2002-10-07  Darin Adler  <darin at apple.com>
 
+	- fixed 3037353 -- align="middle" elements not horizontally centered
+
+        * khtml/html/html_blockimpl.cpp: (HTMLDivElementImpl::parseAttribute):
+        * khtml/html/html_tableimpl.cpp: (HTMLTablePartElementImpl::parseAttribute):
+	Handle "middle" same as center in these two places.
+
+2002-10-07  Darin Adler  <darin at apple.com>
+
 	WebCore part of implementation of multipart forms posting.
 
         * kwq/WebCoreBridge.h: Add a contentType parameter to the bridge's
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index e135a3c..77142d8 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,5 +1,13 @@
 2002-10-07  Darin Adler  <darin at apple.com>
 
+	- fixed 3037353 -- align="middle" elements not horizontally centered
+
+        * khtml/html/html_blockimpl.cpp: (HTMLDivElementImpl::parseAttribute):
+        * khtml/html/html_tableimpl.cpp: (HTMLTablePartElementImpl::parseAttribute):
+	Handle "middle" same as center in these two places.
+
+2002-10-07  Darin Adler  <darin at apple.com>
+
 	WebCore part of implementation of multipart forms posting.
 
         * kwq/WebCoreBridge.h: Add a contentType parameter to the bridge's
diff --git a/WebCore/khtml/html/html_blockimpl.cpp b/WebCore/khtml/html/html_blockimpl.cpp
index 4e6d136..c0137e4 100644
--- a/WebCore/khtml/html/html_blockimpl.cpp
+++ b/WebCore/khtml/html/html_blockimpl.cpp
@@ -72,7 +72,7 @@ void HTMLDivElementImpl::parseAttribute(AttributeImpl *attr)
     case ATTR_ALIGN:
     {
         DOMString v = attr->value();
-        if ( strcasecmp( attr->value(), "center" ) == 0 )
+	if ( strcasecmp( attr->value(), "middle" ) == 0 || strcasecmp( attr->value(), "center" ) == 0 )
             v = "-konq-center";
         addCSSProperty(CSS_PROP_TEXT_ALIGN, v);
         break;
diff --git a/WebCore/khtml/html/html_tableimpl.cpp b/WebCore/khtml/html/html_tableimpl.cpp
index e87d3f1..3159be0 100644
--- a/WebCore/khtml/html/html_tableimpl.cpp
+++ b/WebCore/khtml/html/html_tableimpl.cpp
@@ -515,8 +515,8 @@ void HTMLTablePartElementImpl::parseAttribute(AttributeImpl *attr)
     case ATTR_ALIGN:
     {
         DOMString v = attr->value();
-        if ( strcasecmp( attr->value(), "center" ) == 0 )
-	  v = "-konq-center";
+        if ( strcasecmp( attr->value(), "middle" ) == 0 || strcasecmp( attr->value(), "center" ) == 0 )
+            v = "-konq-center";
         addCSSProperty(CSS_PROP_TEXT_ALIGN, v);
         break;
     }

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list