-
tkent@chromium.org authored
Reviewed by Darin Adler. Fix for <https://bugs.webkit.org/show_bug.cgi?id=27959>. Support for validationMessage attribute, as per HTML5 specs. * fast/dom/domListEnumeration-expected.txt: updated with new property * fast/dom/script-tests/domListEnumeration.js: ditto * fast/forms/script-tests/validationMessage.js: Added. * fast/forms/validationMessage-expected.txt: Added. * fast/forms/validationMessage.html: Added. * platform/gtk/Skipped: * platform/qt/Skipped: * platform/win/Skipped: 2009-11-18 Michelangelo De Simone <micdesim@gmail.com> Reviewed by Darin Adler. Fix for <https://bugs.webkit.org/show_bug.cgi?id=27959>. Support for validationMessage attribute, as per HTML5 specs. Test: fast/forms/validationMessage.html * html/HTMLButtonElement.idl: validationMessage attribute * html/HTMLFieldSetElement.idl: validationMessage attribute * html/HTMLFormControlElement.cpp: * html/HTMLFormControlElement.h: * html/HTMLInputElement.idl: validationMessage attribute * html/HTMLSelectElement.idl: validationMessage attribute * html/HTMLTextAreaElement.idl: validationMessage attribute * html/ValidityState.cpp: new method to retrieve pertinent localized text * html/ValidityState.h: * page/mac/WebCoreViewFactory.h: * platform/LocalizedStrings.h: * platform/android/LocalizedStringsAndroid.cpp: * platform/gtk/LocalizedStringsGtk.cpp: * platform/haiku/LocalizedStringsHaiku.cpp: * platform/mac/LocalizedStringsMac.mm: * platform/wx/LocalizedStringsWx.cpp: 2009-11-18 Michelangelo De Simone <micdesim@gmail.com> Reviewed by Darin Adler. Fix for <https://bugs.webkit.org/show_bug.cgi?id=27959>. Support for validationMessage attribute, as per HTML5 specs. * English.lproj/Localizable.strings: new localizable strings 2009-11-18 Michelangelo De Simone <micdesim@gmail.com> Reviewed by Darin Adler. Fix for <https://bugs.webkit.org/show_bug.cgi?id=27959>. Support for validationMessage attribute, as per HTML5 specs. * src/LocalizedStrings.cpp: (WebCore::validationMessageValueMissingText): (WebCore::validationMessageTypeMismatchText): (WebCore::validationMessagePatternMismatchText): (WebCore::validationMessageTooLongText): (WebCore::validationMessageRangeUnderflowText): (WebCore::validationMessageRangeOverflowText): (WebCore::validationMessageStepMismatchText): 2009-11-18 Michelangelo De Simone <micdesim@gmail.com> Reviewed by Darin Adler. Fix for <https://bugs.webkit.org/show_bug.cgi?id=27959>. Support for validationMessage attribute, as per HTML5 specs. * WebCoreSupport/WebViewFactory.mm: (-[WebViewFactory validationMessageValueMissingText]): (-[WebViewFactory validationMessageTypeMismatchText]): (-[WebViewFactory validationMessagePatternMismatchText]): (-[WebViewFactory validationMessageTooLongText]): (-[WebViewFactory validationMessageRangeUnderflowText]): (-[WebViewFactory validationMessageRangeOverflowText]): (-[WebViewFactory validationMessageStepMismatchText]): 2009-11-18 Michelangelo De Simone <micdesim@gmail.com> Reviewed by Darin Adler. Fix for <https://bugs.webkit.org/show_bug.cgi?id=27959>. Support for validationMessage attribute, as per HTML5 specs. * WebCoreLocalizedStrings.cpp: (WebCore::validationMessageValueMissingText): (WebCore::validationMessageTypeMismatchText): (WebCore::validationMessagePatternMismatchText): (WebCore::validationMessageTooLongText): (WebCore::validationMessageRangeUnderflowText): (WebCore::validationMessageRangeOverflowText): (WebCore::validationMessageStepMismatchText): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51172 268f45cc-cd09-0410-ab3c-d52691b4dbfc
cb15037f