[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
tkent at chromium.org
tkent at chromium.org
Wed Dec 22 14:27:35 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 25a3d6de50a0c8d157767c255e3173c8a8332f23
Author: tkent at chromium.org <tkent at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Sat Oct 9 13:49:54 2010 +0000
Unreviewed, trivial regression fix for r69445.
RangeInputType::supportsRequired() should return false.
https://bugs.webkit.org/show_bug.cgi?id=47405
* html/RangeInputType.cpp:
(WebCore::RangeInputType::supportsRequired):
* html/RangeInputType.h:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69446 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index f8d2265..134f147 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,5 +1,16 @@
2010-10-09 Kent Tamura <tkent at chromium.org>
+ Unreviewed, trivial regression fix for r69445.
+
+ RangeInputType::supportsRequired() should return false.
+ https://bugs.webkit.org/show_bug.cgi?id=47405
+
+ * html/RangeInputType.cpp:
+ (WebCore::RangeInputType::supportsRequired):
+ * html/RangeInputType.h:
+
+2010-10-09 Kent Tamura <tkent at chromium.org>
+
Reviewed by Dimitri Glazkov.
Refactor HTMLInputElement: Move typeMismatch(), valueMissing(),
diff --git a/WebCore/html/RangeInputType.cpp b/WebCore/html/RangeInputType.cpp
index aa359cf..7448071 100644
--- a/WebCore/html/RangeInputType.cpp
+++ b/WebCore/html/RangeInputType.cpp
@@ -68,6 +68,11 @@ void RangeInputType::setValueAsNumber(double newValue, ExceptionCode&) const
element()->setValue(serialize(newValue));
}
+bool RangeInputType::supportsRequired() const
+{
+ return false;
+}
+
bool RangeInputType::rangeUnderflow(const String& value) const
{
// Guaranteed by sanitization.
diff --git a/WebCore/html/RangeInputType.h b/WebCore/html/RangeInputType.h
index 00826af..0ff6f60 100644
--- a/WebCore/html/RangeInputType.h
+++ b/WebCore/html/RangeInputType.h
@@ -44,6 +44,7 @@ private:
virtual const AtomicString& formControlType() const;
virtual double valueAsNumber() const;
virtual void setValueAsNumber(double, ExceptionCode&) const;
+ virtual bool supportsRequired() const;
virtual bool rangeUnderflow(const String&) const;
virtual bool rangeOverflow(const String&) const;
virtual double minimum() const;
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list