Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Support title attribute for pattern validation errors
https://bugs.webkit.org/show_bug.cgi?id=258301 rdar://111394402 Reviewed by Aditya Keerthi. The HTML Standard suggests that the title attribute can be used to augment the message presented to the end user. As this is not trusted UI space this seems reasonable (JavaScript has full control over this UI) and also matches other browsers. * LayoutTests/fast/forms/validation-messages-expected.txt: * LayoutTests/fast/forms/validation-messages.html: * LayoutTests/platform/ios-wk2/fast/forms/validation-messages-expected.txt: * Source/WebCore/en.lproj/Localizable.strings: * Source/WebCore/html/InputType.cpp: (WebCore::InputType::validationMessage const): * Source/WebCore/platform/LocalizedStrings.cpp: (WebCore::validationMessagePatternMismatchText): * Source/WebCore/platform/LocalizedStrings.h: Canonical link: https://commits.webkit.org/266311@main
- Loading branch information
Showing
7 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters