Index: third_party/WebKit/public/web/WebInputElement.h |
diff --git a/third_party/WebKit/public/web/WebInputElement.h b/third_party/WebKit/public/web/WebInputElement.h |
index f374d40732b9f2f4c3bb11a30dd45e01b2bf812e..b59025142f5797786bdc267ef0f6147617e84511 100644 |
--- a/third_party/WebKit/public/web/WebInputElement.h |
+++ b/third_party/WebKit/public/web/WebInputElement.h |
@@ -61,6 +61,9 @@ public: |
BLINK_EXPORT bool isImageButton() const; |
BLINK_EXPORT bool isRadioButton() const; |
BLINK_EXPORT bool isCheckbox() const; |
+ // This has different behavior from 'maxLength' IDL attribute, it returns |
+ // HTMLInputElement::maximumLength when no valid has been set, |
+ // whereas 'maxLength' IDL attribute returns -1. |
BLINK_EXPORT int maxLength() const; |
BLINK_EXPORT void setActivatedSubmit(bool); |
BLINK_EXPORT int size() const; |