Changeset 121019 in webkit
- Timestamp:
- Jun 22, 2012 5:54:04 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 6 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r121014 r121019 1 2012-06-22 Yoshifumi Inoue <yosin@chromium.org> 2 3 REGRESSION(r117738):[Forms] validationMessage IDL attribute should not have range overflow message if value isn't range overflow 4 https://bugs.webkit.org/show_bug.cgi?id=89736 5 6 Reviewed by Kent Tamura. 7 8 Tests for HTMLInputElement.validationMessage attribute. 9 10 * fast/forms/date/input-date-validation-message-expected.txt: Added. 11 * fast/forms/date/input-date-validation-message.html: Added. 12 * fast/forms/number/input-number-validation-message-expected.txt: Added. 13 * fast/forms/number/input-number-validation-message.html: Added. 14 * fast/forms/range/input-range-validation-message-expected.txt: Added. 15 * fast/forms/range/input-range-validation-message.html: Added. 16 1 17 2012-06-21 Vsevolod Vlasov <vsevik@chromium.org> 2 18 -
trunk/Source/WebCore/ChangeLog
r121017 r121019 1 2012-06-22 Yoshifumi Inoue <yosin@chromium.org> 2 3 REGRESSION(r117738):[Forms] validationMessage IDL attribute should not have range overflow message if value isn't range overflow 4 https://bugs.webkit.org/show_bug.cgi?id=89736 5 6 Reviewed by Kent Tamura. 7 8 Tests: fast/forms/date/input-date-validation-message.html 9 fast/forms/number/input-number-validation-message.html 10 fast/forms/range/input-range-validation-message.html 11 12 This patch changes comparison operator for range overflow message in 13 InputType::validationMessage(). 14 15 * html/InputType.cpp: 16 (WebCore::InputType::validationMessage): 17 1 18 2012-06-22 Taiju Tsuiki <tzik@chromium.org> 2 19 -
trunk/Source/WebCore/html/InputType.cpp
r121004 r121019 375 375 return validationMessageRangeUnderflowText(serialize(stepRange.minimum())); 376 376 377 if (numericValue <stepRange.maximum())377 if (numericValue > stepRange.maximum()) 378 378 return validationMessageRangeOverflowText(serialize(stepRange.maximum())); 379 379
Note: See TracChangeset
for help on using the changeset viewer.