[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:56:48 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit e9a0400e2f5fb881122be669bcbfac6b46c71f04
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Sun Nov 3 20:20:04 2002 +0000
- fixed 3091275 -- can't type into Answer field in RealOne Player order form
* khtml/rendering/render_form.cpp:
(RenderLineEdit::updateFromElement): Treat 0 as max (1024) as other browsers do.
(RenderFileButton::updateFromElement): Ditto, although this is in !APPLE_CHANGES code
that we don't use in WebCore.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2542 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog-2002-12-03 b/WebCore/ChangeLog-2002-12-03
index 859156e..d988531 100644
--- a/WebCore/ChangeLog-2002-12-03
+++ b/WebCore/ChangeLog-2002-12-03
@@ -1,3 +1,12 @@
+2002-11-03 Darin Adler <darin at apple.com>
+
+ - fixed 3091275 -- can't type into Answer field in RealOne Player order form
+
+ * khtml/rendering/render_form.cpp:
+ (RenderLineEdit::updateFromElement): Treat 0 as max (1024) as other browsers do.
+ (RenderFileButton::updateFromElement): Ditto, although this is in !APPLE_CHANGES code
+ that we don't use in WebCore.
+
2002-11-01 Darin Adler <darin at apple.com>
- applied the same "subclass responsibility" pattern here as in
diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index 859156e..d988531 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,12 @@
+2002-11-03 Darin Adler <darin at apple.com>
+
+ - fixed 3091275 -- can't type into Answer field in RealOne Player order form
+
+ * khtml/rendering/render_form.cpp:
+ (RenderLineEdit::updateFromElement): Treat 0 as max (1024) as other browsers do.
+ (RenderFileButton::updateFromElement): Ditto, although this is in !APPLE_CHANGES code
+ that we don't use in WebCore.
+
2002-11-01 Darin Adler <darin at apple.com>
- applied the same "subclass responsibility" pattern here as in
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 859156e..d988531 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,12 @@
+2002-11-03 Darin Adler <darin at apple.com>
+
+ - fixed 3091275 -- can't type into Answer field in RealOne Player order form
+
+ * khtml/rendering/render_form.cpp:
+ (RenderLineEdit::updateFromElement): Treat 0 as max (1024) as other browsers do.
+ (RenderFileButton::updateFromElement): Ditto, although this is in !APPLE_CHANGES code
+ that we don't use in WebCore.
+
2002-11-01 Darin Adler <darin at apple.com>
- applied the same "subclass responsibility" pattern here as in
diff --git a/WebCore/khtml/rendering/render_form.cpp b/WebCore/khtml/rendering/render_form.cpp
index 49528ed..dfed6ec 100644
--- a/WebCore/khtml/rendering/render_form.cpp
+++ b/WebCore/khtml/rendering/render_form.cpp
@@ -529,7 +529,7 @@ void RenderLineEdit::calcMinMaxWidth()
void RenderLineEdit::updateFromElement()
{
int ml = element()->maxLength();
- if ( ml < 0 || ml > 1024 )
+ if ( ml <= 0 || ml > 1024 )
ml = 1024;
if ( widget()->maxLength() != ml )
widget()->setMaxLength( ml );
@@ -651,7 +651,7 @@ void RenderFileButton::updateFromElement()
m_edit->setText(element()->value().string());
m_edit->blockSignals(false);
int ml = element()->maxLength();
- if ( ml < 0 || ml > 1024 )
+ if ( ml <= 0 || ml > 1024 )
ml = 1024;
m_edit->setMaxLength( ml );
m_edit->setEdited( false );
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list