Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Unified Diff: third_party/WebKit/Source/web/WebInputElement.cpp

Issue 1615003002: Fix behavior of HTMLInputElement.maxLength/minLength getter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try to fix interactive tests Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebInputElement.cpp
diff --git a/third_party/WebKit/Source/web/WebInputElement.cpp b/third_party/WebKit/Source/web/WebInputElement.cpp
index 139b51078efd8589f5fface4e70b03deae1fcb2e..91c0fca8ba7223651655b3dd74fc89d876d03f33 100644
--- a/third_party/WebKit/Source/web/WebInputElement.cpp
+++ b/third_party/WebKit/Source/web/WebInputElement.cpp
@@ -135,7 +135,7 @@ WebString WebInputElement::localizeValue(const WebString& proposedValue) const
int WebInputElement::defaultMaxLength()
{
- return HTMLInputElement::maximumLength;
+ return -1;
}
void WebInputElement::setShouldRevealPassword(bool value)

Powered by Google App Engine
This is Rietveld 408576698