diff options
Diffstat (limited to 'WebCore/html/HTMLTextAreaElement.h')
-rw-r--r-- | WebCore/html/HTMLTextAreaElement.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/WebCore/html/HTMLTextAreaElement.h b/WebCore/html/HTMLTextAreaElement.h index bb0039e..28d0b61 100644 --- a/WebCore/html/HTMLTextAreaElement.h +++ b/WebCore/html/HTMLTextAreaElement.h @@ -47,7 +47,9 @@ public: int textLength() const { return value().length(); } int maxLength() const; void setMaxLength(int, ExceptionCode&); - virtual bool tooLong() const; + bool valueMissing(const String& value) const { return isRequiredFormControl() && !disabled() && !readOnly() && value.isEmpty(); } + bool tooLong(const String&, NeedsToCheckDirtyFlag) const; + bool isValidValue(const String&) const; void rendererWillBeDestroyed(); @@ -85,8 +87,6 @@ private: virtual bool isTextFormControl() const { return true; } - virtual bool valueMissing() const { return isRequiredFormControl() && !disabled() && !readOnly() && value().isEmpty(); } - virtual void childrenChanged(bool changedByParser = false, Node* beforeChange = 0, Node* afterChange = 0, int childCountDelta = 0); virtual void parseMappedAttribute(Attribute*); virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); |