Index: Source/core/html/forms/TextFieldInputType.cpp |
diff --git a/Source/core/html/forms/TextFieldInputType.cpp b/Source/core/html/forms/TextFieldInputType.cpp |
index 22b6e1385719922354961482252a0759f871c986..c16d0f4312b4e8460fc484dddb215ffeb09546e8 100644 |
--- a/Source/core/html/forms/TextFieldInputType.cpp |
+++ b/Source/core/html/forms/TextFieldInputType.cpp |
@@ -403,7 +403,7 @@ static String limitLength(const String& string, unsigned maxLength) |
// compatible with IE and Firefox. |
for (unsigned i = 0; i < newLength; ++i) { |
const UChar current = string[i]; |
- if (current < ' ' && current != '\t') { |
+ if (current < ' ' && current != '\t' && current != '\v') { |
tkent
2014/03/07 17:26:34
Please follow the FIXME comment above.
Habib Virji
2014/03/10 12:02:56
Done.
|
newLength = i; |
break; |
} |