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

mjs mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:49:58 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 2bb6d738ae0d7c6e7d502073b3af162019626dac
Author: mjs <mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sat Aug 2 00:47:24 2003 +0000

            Reviewed by John.
    
    	- fixed 3265419 - homepage preview doesn't show Images with names longer than 17 chars
    
            * khtml/xml/dom_nodeimpl.cpp:
            (NodeImpl::recursive_toHTML):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4759 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index adfa3e7..dc2fd6b 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,5 +1,14 @@
 2003-08-01  Maciej Stachowiak  <mjs at apple.com>
 
+        Reviewed by John.
+
+	- fixed 3265419 - homepage preview doesn't show Images with names longer than 17 chars
+	
+        * khtml/xml/dom_nodeimpl.cpp:
+        (NodeImpl::recursive_toHTML):
+
+2003-08-01  Maciej Stachowiak  <mjs at apple.com>
+
         Reviewed by Darin.
 
 	- fixed 3339255 - REGRESSION (73-85): javascript failure at gia.apple.com
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index adfa3e7..dc2fd6b 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,5 +1,14 @@
 2003-08-01  Maciej Stachowiak  <mjs at apple.com>
 
+        Reviewed by John.
+
+	- fixed 3265419 - homepage preview doesn't show Images with names longer than 17 chars
+	
+        * khtml/xml/dom_nodeimpl.cpp:
+        (NodeImpl::recursive_toHTML):
+
+2003-08-01  Maciej Stachowiak  <mjs at apple.com>
+
         Reviewed by Darin.
 
 	- fixed 3339255 - REGRESSION (73-85): javascript failure at gia.apple.com
diff --git a/WebCore/khtml/xml/dom_nodeimpl.cpp b/WebCore/khtml/xml/dom_nodeimpl.cpp
index 5cbc8e2..becdbeb 100644
--- a/WebCore/khtml/xml/dom_nodeimpl.cpp
+++ b/WebCore/khtml/xml/dom_nodeimpl.cpp
@@ -283,9 +283,13 @@ QString NodeImpl::recursive_toHTML(bool start) const
                 me += " " + attrs.item(j).nodeName().string() + "=\"" + attrs.item(j).nodeValue().string() + "\"";
         }
         // print ending bracket of start tag
-        if( firstChild() == 0 )     // if element has no endtag
-                me += " />\n";
-        else                        // if element has endtag
+        if( firstChild() == 0 ) {    // if element has no endtag
+	    if (isHTMLElement()) {
+		me +=">";
+	    } else {
+                me +="/>";
+	    }
+	} else                        // if element has endtag
         {
                 NodeImpl* temp = nextSibling();
                 if(temp)

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list