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

hyatt hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:03:29 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 49b9a275fc87120a594254ed2a12add2c7bb2b41
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Oct 20 04:16:16 2003 +0000

    	Patch from KHTML trunk that makes textareas work properly even when they have no render objects.
    
            * khtml/html/html_formimpl.cpp:
            (HTMLTextAreaElementImpl::encoding):
            (HTMLTextAreaElementImpl::value):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5218 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index e918858..309629c 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,11 @@
+2003-10-19  David Hyatt  <hyatt at apple.com>
+
+	Patch from KHTML trunk that makes textareas work properly even when they have no render objects.
+
+        * khtml/html/html_formimpl.cpp:
+        (HTMLTextAreaElementImpl::encoding):
+        (HTMLTextAreaElementImpl::value):
+
 2003-10-18  Darin Adler  <darin at apple.com>
 
         Reviewed by Maciej.
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index e918858..309629c 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,11 @@
+2003-10-19  David Hyatt  <hyatt at apple.com>
+
+	Patch from KHTML trunk that makes textareas work properly even when they have no render objects.
+
+        * khtml/html/html_formimpl.cpp:
+        (HTMLTextAreaElementImpl::encoding):
+        (HTMLTextAreaElementImpl::value):
+
 2003-10-18  Darin Adler  <darin at apple.com>
 
         Reviewed by Maciej.
diff --git a/WebCore/khtml/html/html_formimpl.cpp b/WebCore/khtml/html/html_formimpl.cpp
index 31e42b8..1268e50 100644
--- a/WebCore/khtml/html/html_formimpl.cpp
+++ b/WebCore/khtml/html/html_formimpl.cpp
@@ -2647,7 +2647,7 @@ void HTMLTextAreaElementImpl::attach()
 
 bool HTMLTextAreaElementImpl::encoding(const QTextCodec* codec, encodingList& encoding, bool)
 {
-    if (name().isEmpty() || !m_render) return false;
+    if (name().isEmpty()) return false;
 
     encoding += fixUpfromUnicode(codec, name().string());
     encoding += fixUpfromUnicode(codec, value().string());
@@ -2663,7 +2663,10 @@ void HTMLTextAreaElementImpl::reset()
 DOMString HTMLTextAreaElementImpl::value()
 {
     if ( m_dirtyvalue) {
-        if ( m_render )  m_value = static_cast<RenderTextArea*>( m_render )->text();
+        if ( m_render )
+            m_value = static_cast<RenderTextArea*>( m_render )->text();
+        else
+            m_value = defaultValue().string();
         m_dirtyvalue = false;
     }
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list