Changeset 86298 in webkit
- Timestamp:
- May 11, 2011 6:18:13 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r86295 r86298 1 2011-05-11 Kent Tamura <tkent@chromium.org> 2 3 Reviewed by Dimitri Glazkov. 4 5 input type=email is too strict 6 https://bugs.webkit.org/show_bug.cgi?id=55988 7 8 * fast/forms/resources/ValidityState-typeMismatch-email.js: 9 * fast/forms/ValidityState-typeMismatch-email-expected.txt: 10 1 11 2011-05-11 Jia Pu <jpu@apple.com> 2 12 -
trunk/LayoutTests/fast/forms/ValidityState-typeMismatch-email-expected.txt
r49508 r86298 20 20 PASS someone@do-.com is a correct valid email address 21 21 PASS somebody@-.com is a correct valid email address 22 PASS somebody@example is a correct valid email address 22 23 PASS invalid:email@example.com is a correct invalid email address 23 24 PASS @somewhere.com is a correct invalid email address -
trunk/LayoutTests/fast/forms/resources/ValidityState-typeMismatch-email.js
r49508 r86298 36 36 emailCheck("someone@do-.com", false); 37 37 emailCheck("somebody@-.com", false); 38 emailCheck("somebody@example", false); 38 39 39 40 // INVALID -
trunk/Source/WebCore/ChangeLog
r86295 r86298 1 2011-05-11 Kent Tamura <tkent@chromium.org> 2 3 Reviewed by Dimitri Glazkov. 4 5 input type=email is too strict 6 https://bugs.webkit.org/show_bug.cgi?id=55988 7 8 Follow the updated specification. 9 10 * html/EmailInputType.cpp: Update the pattern to allow a domain part without periods. 11 1 12 2011-05-11 Jia Pu <jpu@apple.com> 2 13 -
trunk/Source/WebCore/html/EmailInputType.cpp
r74895 r86298 35 35 "[a-z0-9!#$%&'*+/=?^_`{|}~.-]+" // local part 36 36 "@" 37 "[a-z0-9-]+(\\.[a-z0-9-]+) +"; // domain part37 "[a-z0-9-]+(\\.[a-z0-9-]+)*"; // domain part 38 38 39 39 static bool isValidEmailAddress(const String& address)
Note: See TracChangeset
for help on using the changeset viewer.