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

List:       kde-commits
Subject:    branches/KDE/4.1/kdelibs/khtml/html
From:       Germain Garand <germain () ebooksfrance ! org>
Date:       2008-09-15 4:20:08
Message-ID: 1221452408.466020.18551.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 861080 by ggarand:

automatically merged revision 859311:
Submit button with an empty-but-not-null 'value' attribute
must not display the default button text.

 M  +1 -1      html_formimpl.cpp  


--- branches/KDE/4.1/kdelibs/khtml/html/html_formimpl.cpp #861079:861080
@@ -2177,7 +2177,7 @@
 DOMString HTMLInputElementImpl::valueWithDefault() const
 {
     DOMString v = value();
-    if (v.isEmpty()) {
+    if (v.isNull()) {
         switch (m_type) {
             case RESET:
 #ifdef APPLE_CHANGES
[prev in list] [next in list] [prev in thread] [next in thread] 

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