Changeset 286316 in webkit
- Timestamp:
- Nov 30, 2021, 12:39:07 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 49 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/forms/ValidityState-typeMismatch-url-expected.txt (modified) (1 diff)
-
LayoutTests/fast/forms/ValidityState-typeMismatch-url.html (modified) (1 diff)
-
LayoutTests/fast/forms/date/ValidityState-rangeOverflow-date-expected.txt (modified) (1 diff)
-
LayoutTests/fast/forms/date/ValidityState-rangeOverflow-date.html (modified) (1 diff)
-
LayoutTests/fast/forms/date/ValidityState-rangeUnderflow-date-expected.txt (modified) (1 diff)
-
LayoutTests/fast/forms/date/ValidityState-rangeUnderflow-date.html (modified) (1 diff)
-
LayoutTests/fast/forms/date/ValidityState-stepMismatch-date-expected.txt (modified) (1 diff)
-
LayoutTests/fast/forms/date/ValidityState-stepMismatch-date.html (modified) (1 diff)
-
LayoutTests/fast/forms/datetimelocal/ValidityState-rangeOverflow-datetimelocal-expected.txt (modified) (1 diff)
-
LayoutTests/fast/forms/datetimelocal/ValidityState-rangeOverflow-datetimelocal.html (modified) (1 diff)
-
LayoutTests/fast/forms/datetimelocal/ValidityState-rangeUnderflow-datetimelocal-expected.txt (modified) (1 diff)
-
LayoutTests/fast/forms/datetimelocal/ValidityState-rangeUnderflow-datetimelocal.html (modified) (1 diff)
-
LayoutTests/fast/forms/datetimelocal/ValidityState-stepMismatch-datetimelocal-expected.txt (modified) (1 diff)
-
LayoutTests/fast/forms/datetimelocal/ValidityState-stepMismatch-datetimelocal.html (modified) (1 diff)
-
LayoutTests/fast/forms/month/ValidityState-rangeOverflow-month-expected.txt (modified) (1 diff)
-
LayoutTests/fast/forms/month/ValidityState-rangeOverflow-month.html (modified) (1 diff)
-
LayoutTests/fast/forms/month/ValidityState-rangeUnderflow-month-expected.txt (modified) (1 diff)
-
LayoutTests/fast/forms/month/ValidityState-rangeUnderflow-month.html (modified) (1 diff)
-
LayoutTests/fast/forms/month/ValidityState-stepMismatch-month-expected.txt (modified) (1 diff)
-
LayoutTests/fast/forms/month/ValidityState-stepMismatch-month.html (modified) (1 diff)
-
LayoutTests/fast/forms/number/number-validity-rangeoverflow-expected.txt (modified) (1 diff)
-
LayoutTests/fast/forms/number/number-validity-rangeoverflow.html (modified) (1 diff)
-
LayoutTests/fast/forms/number/number-validity-rangeunderflow-expected.txt (modified) (1 diff)
-
LayoutTests/fast/forms/number/number-validity-rangeunderflow.html (modified) (1 diff)
-
LayoutTests/fast/forms/number/number-validity-stepmismatch-expected.txt (modified) (1 diff)
-
LayoutTests/fast/forms/number/number-validity-stepmismatch.html (modified) (1 diff)
-
LayoutTests/fast/forms/time/time-validity-rangeoverflow-expected.txt (modified) (1 diff)
-
LayoutTests/fast/forms/time/time-validity-rangeoverflow.html (modified) (1 diff)
-
LayoutTests/fast/forms/time/time-validity-rangeunderflow-expected.txt (modified) (1 diff)
-
LayoutTests/fast/forms/time/time-validity-rangeunderflow.html (modified) (1 diff)
-
LayoutTests/fast/forms/time/time-validity-stepmismatch-expected.txt (modified) (1 diff)
-
LayoutTests/fast/forms/time/time-validity-stepmismatch.html (modified) (1 diff)
-
LayoutTests/fast/forms/week/ValidityState-rangeOverflow-week-expected.txt (modified) (1 diff)
-
LayoutTests/fast/forms/week/ValidityState-rangeOverflow-week.html (modified) (1 diff)
-
LayoutTests/fast/forms/week/ValidityState-rangeUnderflow-week-expected.txt (modified) (1 diff)
-
LayoutTests/fast/forms/week/ValidityState-rangeUnderflow-week.html (modified) (1 diff)
-
LayoutTests/fast/forms/week/ValidityState-stepMismatch-week-expected.txt (modified) (1 diff)
-
LayoutTests/fast/forms/week/ValidityState-stepMismatch-week.html (modified) (1 diff)
-
LayoutTests/imported/w3c/ChangeLog (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-rangeOverflow-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-rangeUnderflow-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-stepMismatch-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-typeMismatch-expected.txt (modified) (1 diff)
-
LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-rangeOverflow-expected.txt (modified) (6 diffs)
-
LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-rangeUnderflow-expected.txt (modified) (6 diffs)
-
LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-stepMismatch-expected.txt (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/html/HTMLInputElement.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r286305 r286316 1 2021-11-30 Chris Dumez <cdumez@apple.com> 2 3 Several WPT tests under html/semantics/forms/constraints are failing due to extraneous willValidate() checks 4 https://bugs.webkit.org/show_bug.cgi?id=233604 5 6 Reviewed by Darin Adler. 7 8 Rebaseline WPT tests now that more checks are passing. 9 10 * platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-rangeOverflow-expected.txt: 11 * platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-rangeUnderflow-expected.txt: 12 * platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-stepMismatch-expected.txt: 13 1 14 2021-11-30 Youenn Fablet <youenn@apple.com> 2 15 -
trunk/LayoutTests/fast/forms/ValidityState-typeMismatch-url-expected.txt
r207162 r286316 43 43 PASS http://host+ is a correct valid url. 44 44 PASS http://myurl! is a correct valid url. 45 PASS invalid is a correct valid url when disabled.45 PASS invalid is a correct invalid url. 46 46 PASS successfullyParsed is true 47 47 -
trunk/LayoutTests/fast/forms/ValidityState-typeMismatch-url.html
r207162 r286316 78 78 79 79 // Disabled 80 expect Valid('invalid', true);80 expectInvalid('invalid', true); 81 81 </script> 82 82 <script src="../../resources/js-test-post.js"></script> -
trunk/LayoutTests/fast/forms/date/ValidityState-rangeOverflow-date-expected.txt
r195834 r286316 15 15 PASS The value "9999-01-01" overflows the maximum value "2010-12-31". 16 16 PASS The value "2010-01-27" overflows the maximum value "2010-01-26". 17 PASS The value "9999-01-01" doesn't overflowthe maximum value "2010-12-31" when disabled.17 PASS The value "9999-01-01" overflows the maximum value "2010-12-31" when disabled. 18 18 PASS successfullyParsed is true 19 19 -
trunk/LayoutTests/fast/forms/date/ValidityState-rangeOverflow-date.html
r155268 r286316 68 68 69 69 // Disabled 70 check NotOverflow('9999-01-01', '2010-12-31', true);70 checkOverflow('9999-01-01', '2010-12-31', true); 71 71 </script> 72 72 <script src="../../../resources/js-test-post.js"></script> -
trunk/LayoutTests/fast/forms/date/ValidityState-rangeUnderflow-date-expected.txt
r195834 r286316 15 15 PASS The value "9999-01-01" undeflows the minimum value "10000-12-31". 16 16 PASS The value "2010-01-27" undeflows the minimum value "2010-02-01". 17 PASS The value "9999-01-01" doesn't underflowthe minimum value "10000-12-31" when disabled.17 PASS The value "9999-01-01" undeflows the minimum value "10000-12-31" when disabled. 18 18 PASS successfullyParsed is true 19 19 -
trunk/LayoutTests/fast/forms/date/ValidityState-rangeUnderflow-date.html
r155268 r286316 70 70 71 71 // Disabled 72 check NotUnderflow('9999-01-01', '10000-12-31', true);72 checkUnderflow('9999-01-01', '10000-12-31', true); 73 73 </script> 74 74 <script src="../../../resources/js-test-post.js"></script> -
trunk/LayoutTests/fast/forms/date/ValidityState-stepMismatch-date-expected.txt
r92819 r286316 30 30 PASS stepMismatchFor("2010-02-10", "any", "2010-02-09") is false 31 31 Disabled 32 PASS stepMismatchFor("2010-02-10", "2", "2010-02-09", true) is false32 PASS stepMismatchFor("2010-02-10", "2", "2010-02-09", true) is true 33 33 34 34 PASS successfullyParsed is true -
trunk/LayoutTests/fast/forms/date/ValidityState-stepMismatch-date.html
r155268 r286316 48 48 shouldBeFalse('stepMismatchFor("2010-02-10", "any", "2010-02-09")'); 49 49 debug('Disabled'); 50 shouldBe False('stepMismatchFor("2010-02-10", "2", "2010-02-09", true)');50 shouldBeTrue('stepMismatchFor("2010-02-10", "2", "2010-02-09", true)'); 51 51 52 52 debug(''); -
trunk/LayoutTests/fast/forms/datetimelocal/ValidityState-rangeOverflow-datetimelocal-expected.txt
r195834 r286316 15 15 PASS The value "9999-01-01T23:59" overflows the maximum value "2010-12-31T00:00". 16 16 PASS The value "2010-01-27T12:34" overflows the maximum value "2010-01-26T12:34". 17 PASS The value "9999-01-01T23:59" doesn't overflowthe maximum value "2010-12-31T00:00" when disabled.17 PASS The value "9999-01-01T23:59" overflows the maximum value "2010-12-31T00:00" when disabled. 18 18 PASS successfullyParsed is true 19 19 -
trunk/LayoutTests/fast/forms/datetimelocal/ValidityState-rangeOverflow-datetimelocal.html
r155268 r286316 68 68 69 69 // Disabled 70 check NotOverflow('9999-01-01T23:59', '2010-12-31T00:00', true);70 checkOverflow('9999-01-01T23:59', '2010-12-31T00:00', true); 71 71 </script> 72 72 <script src="../../../resources/js-test-post.js"></script> -
trunk/LayoutTests/fast/forms/datetimelocal/ValidityState-rangeUnderflow-datetimelocal-expected.txt
r195834 r286316 15 15 PASS The value "9999-01-01T12:00" undeflows the minimum value "10000-12-31T12:00". 16 16 PASS The value "2010-01-27T12:00" undeflows the minimum value "2010-02-01T12:00". 17 PASS The value "9999-01-01T12:00" doesn't underflowthe minimum value "10000-12-31T12:00" when disabled.17 PASS The value "9999-01-01T12:00" undeflows the minimum value "10000-12-31T12:00" when disabled. 18 18 PASS successfullyParsed is true 19 19 -
trunk/LayoutTests/fast/forms/datetimelocal/ValidityState-rangeUnderflow-datetimelocal.html
r155268 r286316 70 70 71 71 // Disabled 72 check NotUnderflow('9999-01-01T12:00', '10000-12-31T12:00', true);72 checkUnderflow('9999-01-01T12:00', '10000-12-31T12:00', true); 73 73 </script> 74 74 <script src="../../../resources/js-test-post.js"></script> -
trunk/LayoutTests/fast/forms/datetimelocal/ValidityState-stepMismatch-datetimelocal-expected.txt
r92754 r286316 33 33 PASS stepMismatchFor("2010-02-09T12:34", "any", "2010-02-09T12:34") is false 34 34 Disabled 35 PASS stepMismatchFor("2010-02-09T12:34:55.001", "1", "2010-02-09T12:34:56", true) is false35 PASS stepMismatchFor("2010-02-09T12:34:55.001", "1", "2010-02-09T12:34:56", true) is true 36 36 PASS successfullyParsed is true 37 37 -
trunk/LayoutTests/fast/forms/datetimelocal/ValidityState-stepMismatch-datetimelocal.html
r155268 r286316 51 51 shouldBeFalse('stepMismatchFor("2010-02-09T12:34", "any", "2010-02-09T12:34")'); 52 52 debug('Disabled'); 53 shouldBe False('stepMismatchFor("2010-02-09T12:34:55.001", "1", "2010-02-09T12:34:56", true)');53 shouldBeTrue('stepMismatchFor("2010-02-09T12:34:55.001", "1", "2010-02-09T12:34:56", true)'); 54 54 </script> 55 55 <script src="../../../resources/js-test-post.js"></script> -
trunk/LayoutTests/fast/forms/month/ValidityState-rangeOverflow-month-expected.txt
r195834 r286316 15 15 PASS The value "9999-01" overflows the maximum value "2010-12". 16 16 PASS The value "2010-01" overflows the maximum value "2009-12". 17 PASS The value "9999-01" doesn't overflowthe maximum value "2010-12" when disabled.17 PASS The value "9999-01" overflows the maximum value "2010-12" when disabled. 18 18 PASS successfullyParsed is true 19 19 -
trunk/LayoutTests/fast/forms/month/ValidityState-rangeOverflow-month.html
r155268 r286316 68 68 69 69 // Disabled 70 check NotOverflow('9999-01', '2010-12', true);70 checkOverflow('9999-01', '2010-12', true); 71 71 </script> 72 72 <script src="../../../resources/js-test-post.js"></script> -
trunk/LayoutTests/fast/forms/month/ValidityState-rangeUnderflow-month-expected.txt
r195834 r286316 15 15 PASS The value "9999-01" undeflows the minimum value "10000-12". 16 16 PASS The value "2010-01" undeflows the minimum value "2010-02". 17 PASS The value "9999-01" doesn't underflowthe minimum value "10000-12" when disabled.17 PASS The value "9999-01" undeflows the minimum value "10000-12" when disabled. 18 18 PASS successfullyParsed is true 19 19 -
trunk/LayoutTests/fast/forms/month/ValidityState-rangeUnderflow-month.html
r155268 r286316 70 70 71 71 // Disabled 72 check NotUnderflow('9999-01', '10000-12', true);72 checkUnderflow('9999-01', '10000-12', true); 73 73 </script> 74 74 <script src="../../../resources/js-test-post.js"></script> -
trunk/LayoutTests/fast/forms/month/ValidityState-stepMismatch-month-expected.txt
r92741 r286316 30 30 PASS stepMismatchFor("2010-03", "any", "2010-02") is false 31 31 Disabled 32 PASS stepMismatchFor("2010-03", "2", "2010-02", true) is false32 PASS stepMismatchFor("2010-03", "2", "2010-02", true) is true 33 33 34 34 PASS successfullyParsed is true -
trunk/LayoutTests/fast/forms/month/ValidityState-stepMismatch-month.html
r155268 r286316 48 48 shouldBeFalse('stepMismatchFor("2010-03", "any", "2010-02")'); 49 49 debug('Disabled'); 50 shouldBe False('stepMismatchFor("2010-03", "2", "2010-02", true)');50 shouldBeTrue('stepMismatchFor("2010-03", "2", "2010-02", true)'); 51 51 52 52 debug(''); -
trunk/LayoutTests/fast/forms/number/number-validity-rangeoverflow-expected.txt
r123836 r286316 18 18 PASS The value "101" overflows the maximum value "1E+2". 19 19 PASS The value "101" overflows the maximum value "100". 20 PASS The value "101" doesn't overflowthe maximum value "1E+2" when disabled.20 PASS The value "101" overflows the maximum value "1E+2" when disabled. 21 21 PASS successfullyParsed is true 22 22 -
trunk/LayoutTests/fast/forms/number/number-validity-rangeoverflow.html
r155268 r286316 62 62 63 63 // Disabled 64 check NotOverflow('101', '1E+2', true);64 checkOverflow('101', '1E+2', true); 65 65 </script> 66 66 <script src="../../../resources/js-test-post.js"></script> -
trunk/LayoutTests/fast/forms/number/number-validity-rangeunderflow-expected.txt
r123836 r286316 18 18 PASS The value "99" undeflows the minimum value "1E+2". 19 19 PASS The value "101" undeflows the minimum value "200". 20 PASS The value "99" doesn't underflowthe minimum value "1E+2" when disabled.20 PASS The value "99" undeflows the minimum value "1E+2" when disabled. 21 21 PASS successfullyParsed is true 22 22 -
trunk/LayoutTests/fast/forms/number/number-validity-rangeunderflow.html
r155268 r286316 64 64 65 65 // Disabled 66 check NotUnderflow('99', '1E+2', true);66 checkUnderflow('99', '1E+2', true); 67 67 </script> 68 68 <script src="../../../resources/js-test-post.js"></script> -
trunk/LayoutTests/fast/forms/number/number-validity-stepmismatch-expected.txt
r123836 r286316 32 32 PASS stepMismatchFor("5.005", "0.005", "4") is false 33 33 Disabled 34 PASS stepMismatchFor("1", "2", "0", true) is false34 PASS stepMismatchFor("1", "2", "0", true) is true 35 35 PASS successfullyParsed is true 36 36 -
trunk/LayoutTests/fast/forms/number/number-validity-stepmismatch.html
r155268 r286316 49 49 shouldBe('stepMismatchFor("5.005", "0.005", "4")', 'false'); 50 50 debug('Disabled'); 51 shouldBe('stepMismatchFor("1", "2", "0", true)', ' false');51 shouldBe('stepMismatchFor("1", "2", "0", true)', 'true'); 52 52 </script> 53 53 <script src="../../../resources/js-test-post.js"></script> -
trunk/LayoutTests/fast/forms/time/time-validity-rangeoverflow-expected.txt
r195834 r286316 14 14 PASS The value "23:59:59.999" overflows the maximum value "13:16". 15 15 PASS The value "13:16" overflows the maximum value "12:00". 16 PASS The value "23:59:59.999" doesn't overflowthe maximum value "13:16" when disabled.16 PASS The value "23:59:59.999" overflows the maximum value "13:16" when disabled. 17 17 PASS successfullyParsed is true 18 18 -
trunk/LayoutTests/fast/forms/time/time-validity-rangeoverflow.html
r155268 r286316 67 67 68 68 // Disabled 69 check NotOverflow('23:59:59.999', '13:16', true);69 checkOverflow('23:59:59.999', '13:16', true); 70 70 </script> 71 71 <script src="../../../resources/js-test-post.js"></script> -
trunk/LayoutTests/fast/forms/time/time-validity-rangeunderflow-expected.txt
r195834 r286316 15 15 PASS The value "23:59" undeflows the minimum value "23:59:30". 16 16 PASS The value "13:16" undeflows the minimum value "14:00". 17 PASS The value "23:59" doesn't underflowthe minimum value "23:59:30" when disabled.17 PASS The value "23:59" undeflows the minimum value "23:59:30" when disabled. 18 18 PASS successfullyParsed is true 19 19 -
trunk/LayoutTests/fast/forms/time/time-validity-rangeunderflow.html
r155268 r286316 68 68 69 69 // Disabled 70 check NotUnderflow('23:59', '23:59:30', true);70 checkUnderflow('23:59', '23:59:30', true); 71 71 </script> 72 72 <script src="../../../resources/js-test-post.js"></script> -
trunk/LayoutTests/fast/forms/time/time-validity-stepmismatch-expected.txt
r123836 r286316 31 31 PASS stepMismatchFor("12:35", "any", "12:34") is false 32 32 Disabled 33 PASS stepMismatchFor("12:34:55.001", "1", "12:34:56", true) is false33 PASS stepMismatchFor("12:34:55.001", "1", "12:34:56", true) is true 34 34 35 35 PASS successfullyParsed is true -
trunk/LayoutTests/fast/forms/time/time-validity-stepmismatch.html
r155268 r286316 49 49 shouldBeFalse('stepMismatchFor("12:35", "any", "12:34")'); 50 50 debug('Disabled'); 51 shouldBe False('stepMismatchFor("12:34:55.001", "1", "12:34:56", true)');51 shouldBeTrue('stepMismatchFor("12:34:55.001", "1", "12:34:56", true)'); 52 52 53 53 debug(''); -
trunk/LayoutTests/fast/forms/week/ValidityState-rangeOverflow-week-expected.txt
r195834 r286316 16 16 PASS The value "9999-W01" overflows the maximum value "2010-W12". 17 17 PASS The value "2010-W01" overflows the maximum value "2009-W50". 18 PASS The value "9999-W01" doesn't overflowthe maximum value "2010-W12" when disabled.18 PASS The value "9999-W01" overflows the maximum value "2010-W12" when disabled. 19 19 PASS successfullyParsed is true 20 20 -
trunk/LayoutTests/fast/forms/week/ValidityState-rangeOverflow-week.html
r155268 r286316 69 69 70 70 // Disabled 71 check NotOverflow('9999-W01', '2010-W12', true);71 checkOverflow('9999-W01', '2010-W12', true); 72 72 </script> 73 73 <script src="../../../resources/js-test-post.js"></script> -
trunk/LayoutTests/fast/forms/week/ValidityState-rangeUnderflow-week-expected.txt
r195834 r286316 15 15 PASS The value "9999-W01" undeflows the minimum value "10000-W12". 16 16 PASS The value "2010-W01" undeflows the minimum value "2010-W02". 17 PASS The value "9999-W01" doesn't underflowthe minimum value "10000-W12" when disabled.17 PASS The value "9999-W01" undeflows the minimum value "10000-W12" when disabled. 18 18 PASS successfullyParsed is true 19 19 -
trunk/LayoutTests/fast/forms/week/ValidityState-rangeUnderflow-week.html
r155268 r286316 70 70 71 71 // Disabled 72 check NotUnderflow('9999-W01', '10000-W12', true);72 checkUnderflow('9999-W01', '10000-W12', true); 73 73 </script> 74 74 <script src="../../../resources/js-test-post.js"></script> -
trunk/LayoutTests/fast/forms/week/ValidityState-stepMismatch-week-expected.txt
r92427 r286316 32 32 PASS stepMismatchFor("2010-W03", "any", "2010-W02") is false 33 33 Disabled 34 PASS stepMismatchFor("2010-W03", "2", "2010-W02", true) is false34 PASS stepMismatchFor("2010-W03", "2", "2010-W02", true) is true 35 35 PASS successfullyParsed is true 36 36 -
trunk/LayoutTests/fast/forms/week/ValidityState-stepMismatch-week.html
r155268 r286316 50 50 shouldBeFalse('stepMismatchFor("2010-W03", "any", "2010-W02")'); 51 51 debug('Disabled'); 52 shouldBe False('stepMismatchFor("2010-W03", "2", "2010-W02", true)');52 shouldBeTrue('stepMismatchFor("2010-W03", "2", "2010-W02", true)'); 53 53 </script> 54 54 <script src="../../../resources/js-test-post.js"></script> -
trunk/LayoutTests/imported/w3c/ChangeLog
r286315 r286316 1 2021-11-30 Chris Dumez <cdumez@apple.com> 2 3 Several WPT tests under html/semantics/forms/constraints are failing due to extraneous willValidate() checks 4 https://bugs.webkit.org/show_bug.cgi?id=233604 5 6 Reviewed by Darin Adler. 7 8 Rebaseline WPT tests now that more checks are passing. 9 10 * web-platform-tests/html/semantics/forms/constraints/form-validation-validity-typeMismatch-expected.txt: 11 1 12 2021-11-30 Chris Dumez <cdumez@apple.com> 2 13 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-rangeOverflow-expected.txt
r267646 r286316 11 11 PASS [INPUT in NUMBER status] The max equals to value 12 12 PASS [INPUT in NUMBER status] The value is not a number 13 FAIL [INPUT in NUMBER status] The value is greater than max(integer) assert_true: The validity.rangeOverflow should be true, when control is disabled. expected true got false 14 FAIL [INPUT in NUMBER status] The value is greater than max(floating number) assert_true: The validity.rangeOverflow should be true, when control is disabled. expected true got false 15 FAIL [INPUT in NUMBER status] The value is greater than max(special floating number) assert_true: The validity.rangeOverflow should be true, when control is disabled. expected true got false 16 FAIL [INPUT in NUMBER status] The value is greater than max(scientific notation) assert_true: The validity.rangeOverflow should be true, when control is disabled. expected true got false 13 PASS [INPUT in NUMBER status] The value is greater than max(integer) 14 PASS [INPUT in NUMBER status] The value is greater than max(floating number) 15 PASS [INPUT in NUMBER status] The value is greater than max(special floating number) 16 PASS [INPUT in NUMBER status] The value is greater than max(scientific notation) 17 17 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-rangeUnderflow-expected.txt
r267646 r286316 11 11 PASS [INPUT in NUMBER status] The min equals to value 12 12 PASS [INPUT in NUMBER status] The value is not a number 13 FAIL [INPUT in NUMBER status] The value is less than min(integer) assert_true: The validity.rangeUnderflow should be true, when control is disabled. expected true got false 14 FAIL [INPUT in NUMBER status] The value is less than min(floating number) assert_true: The validity.rangeUnderflow should be true, when control is disabled. expected true got false 15 FAIL [INPUT in NUMBER status] The value is less than min(special floating number) assert_true: The validity.rangeUnderflow should be true, when control is disabled. expected true got false 16 FAIL [INPUT in NUMBER status] The value is less than min(scientific notation) assert_true: The validity.rangeUnderflow should be true, when control is disabled. expected true got false 13 PASS [INPUT in NUMBER status] The value is less than min(integer) 14 PASS [INPUT in NUMBER status] The value is less than min(floating number) 15 PASS [INPUT in NUMBER status] The value is less than min(special floating number) 16 PASS [INPUT in NUMBER status] The value is less than min(scientific notation) 17 17 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-stepMismatch-expected.txt
r267646 r286316 6 6 FAIL [INPUT in DATETIME-LOCAL status] The datetime-local type must be supported. assert_equals: The datetime-local type should be supported. expected "datetime-local" but got "text" 7 7 PASS [INPUT in NUMBER status] The step attribute is not set 8 FAIL [INPUT in NUMBER status] The step attribute is not set and the value attribute is a floating number assert_true: The validity.stepMismatch should be true, when control is disabled. expected true got false 8 PASS [INPUT in NUMBER status] The step attribute is not set and the value attribute is a floating number 9 9 PASS [INPUT in NUMBER status] The value attribute is empty string 10 10 PASS [INPUT in NUMBER status] The value must match the step 11 FAIL [INPUT in NUMBER status] The value must mismatch the step assert_true: The validity.stepMismatch should be true, when control is disabled. expected true got false 11 PASS [INPUT in NUMBER status] The value must mismatch the step 12 12 PASS [INPUT in NUMBER status] No step mismatch when step is a floating number and value is its integral multiple 13 13 PASS [INPUT in NUMBER status] No step mismatch when step is a floating number in exponent format and value is its integral multiple 14 FAIL [INPUT in NUMBER status] Step mismatch when step is a very small floating number and value is not its integral multiple assert_true: The validity.stepMismatch should be true, when control is disabled. expected true got false14 PASS [INPUT in NUMBER status] Step mismatch when step is a very small floating number and value is not its integral multiple 15 15 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-typeMismatch-expected.txt
r267646 r286316 3 3 PASS [INPUT in EMAIL status] The value is a valid email address 4 4 PASS [INPUT in EMAIL status] The value is a valid email address with some white spaces. 5 FAIL [INPUT in EMAIL status] The value is not an email address assert_true: The validity.typeMismatch should be true, when control is disabled. expected true got false 6 FAIL [INPUT in EMAIL status] The value contains multiple email addresses assert_true: The validity.typeMismatch should be true, when control is disabled. expected true got false 5 PASS [INPUT in EMAIL status] The value is not an email address 6 PASS [INPUT in EMAIL status] The value contains multiple email addresses 7 7 PASS [INPUT in EMAIL status] The value is valid email addresses 8 FAIL [INPUT in EMAIL status] The value contains invalid separator assert_true: The validity.typeMismatch should be true, when control is disabled. expected true got false 8 PASS [INPUT in EMAIL status] The value contains invalid separator 9 9 PASS [INPUT in URL status] The value is empty 10 10 PASS [INPUT in URL status] The value is a valid url 11 11 PASS [INPUT in URL status] The value is a valid url with some white spaces. 12 FAIL [INPUT in URL status] The value is not an url assert_true: The validity.typeMismatch should be true, when control is disabled. expected true got false 12 PASS [INPUT in URL status] The value is not an url 13 13 -
trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-rangeOverflow-expected.txt
r267658 r286316 6 6 PASS [INPUT in DATETIME-LOCAL status] The value is an invalid local date time string(hour is greater than 23) 7 7 PASS [INPUT in DATETIME-LOCAL status] The value if an invalid local date time string(year is two digits) 8 FAIL [INPUT in DATETIME-LOCAL status] The value is greater than max assert_true: The validity.rangeOverflow should be true, when control is disabled. expected true got false 9 FAIL [INPUT in DATETIME-LOCAL status] The value is greater than max(with millisecond in 1 digit) assert_true: The validity.rangeOverflow should be true, when control is disabled. expected true got false 10 FAIL [INPUT in DATETIME-LOCAL status] The value is greater than max(with millisecond in 2 digits) assert_true: The validity.rangeOverflow should be true, when control is disabled. expected true got false 11 FAIL [INPUT in DATETIME-LOCAL status] The value is greater than max(with millisecond in 3 digits) assert_true: The validity.rangeOverflow should be true, when control is disabled. expected true got false 12 FAIL [INPUT in DATETIME-LOCAL status] The value is greater than max(Year is 10000 should be valid) assert_true: The validity.rangeOverflow should be true, when control is disabled. expected true got false 8 PASS [INPUT in DATETIME-LOCAL status] The value is greater than max 9 PASS [INPUT in DATETIME-LOCAL status] The value is greater than max(with millisecond in 1 digit) 10 PASS [INPUT in DATETIME-LOCAL status] The value is greater than max(with millisecond in 2 digits) 11 PASS [INPUT in DATETIME-LOCAL status] The value is greater than max(with millisecond in 3 digits) 12 PASS [INPUT in DATETIME-LOCAL status] The value is greater than max(Year is 10000 should be valid) 13 13 PASS [INPUT in DATE status] The max attribute is not set 14 14 PASS [INPUT in DATE status] Value is empty string … … 19 19 PASS [INPUT in DATE status] The value is an invalid date(date is greater than 29 for Feb) 20 20 PASS [INPUT in DATE status] The max attribute is greater than value attribute 21 FAIL [INPUT in DATE status] The value attribute is greater than max attribute assert_true: The validity.rangeOverflow should be true, when control is disabled. expected true got false22 FAIL [INPUT in DATE status] The value attribute is greater than max attribute(Year is 10000 should be valid) assert_true: The validity.rangeOverflow should be true, when control is disabled. expected true got false 21 PASS [INPUT in DATE status] The value attribute is greater than max attribute 22 PASS [INPUT in DATE status] The value attribute is greater than max attribute(Year is 10000 should be valid) 23 23 PASS [INPUT in MONTH status] The max attribute is not set 24 24 PASS [INPUT in MONTH status] Value is empty string … … 28 28 PASS [INPUT in MONTH status] The value is an invalid month string(month is greater than 12) 29 29 PASS [INPUT in MONTH status] The max attribute is greater than value attribute 30 FAIL [INPUT in MONTH status] The value attribute is greater than max attribute assert_true: The validity.rangeOverflow should be true, when control is disabled. expected true got false31 FAIL [INPUT in MONTH status] The value attribute is greater than max attribute(Year is 10000 should be valid) assert_true: The validity.rangeOverflow should be true, when control is disabled. expected true got false 30 PASS [INPUT in MONTH status] The value attribute is greater than max attribute 31 PASS [INPUT in MONTH status] The value attribute is greater than max attribute(Year is 10000 should be valid) 32 32 PASS [INPUT in WEEK status] The max attribute is not set 33 33 PASS [INPUT in WEEK status] Value is empty string … … 38 38 PASS [INPUT in WEEK status] The value is an invalid week string(week is too greater) 39 39 PASS [INPUT in WEEK status] The max attribute is greater than value attribute 40 FAIL [INPUT in WEEK status] The value attribute is greater than max attribute assert_true: The validity.rangeOverflow should be true, when control is disabled. expected true got false41 FAIL [INPUT in WEEK status] The value attribute is greater than max attribute(Year is 10000 should be valid) assert_true: The validity.rangeOverflow should be true, when control is disabled. expected true got false 40 PASS [INPUT in WEEK status] The value attribute is greater than max attribute 41 PASS [INPUT in WEEK status] The value attribute is greater than max attribute(Year is 10000 should be valid) 42 42 PASS [INPUT in TIME status] The max attribute is not set 43 43 PASS [INPUT in TIME status] Value is empty string … … 49 49 PASS [INPUT in TIME status] The max attribute is greater than value attribute 50 50 PASS [INPUT in TIME status] The time missing second and minute parts is invalid 51 FAIL [INPUT in TIME status] The value attribute is greater than max attribute assert_true: The validity.rangeOverflow should be true, when control is disabled. expected true got false52 FAIL [INPUT in TIME status] The value is greater than max(with millisecond in 1 digit) assert_true: The validity.rangeOverflow should be true, when control is disabled. expected true got false 53 FAIL [INPUT in TIME status] The value is greater than max(with millisecond in 2 digit) assert_true: The validity.rangeOverflow should be true, when control is disabled. expected true got false 54 FAIL [INPUT in TIME status] The value is greater than max(with millisecond in 3 digit) assert_true: The validity.rangeOverflow should be true, when control is disabled. expected true got false 55 FAIL [INPUT in TIME status] The time missing second part is valid assert_true: The validity.rangeOverflow should be true, when control is disabled. expected true got false 51 PASS [INPUT in TIME status] The value attribute is greater than max attribute 52 PASS [INPUT in TIME status] The value is greater than max(with millisecond in 1 digit) 53 PASS [INPUT in TIME status] The value is greater than max(with millisecond in 2 digit) 54 PASS [INPUT in TIME status] The value is greater than max(with millisecond in 3 digit) 55 PASS [INPUT in TIME status] The time missing second part is valid 56 56 PASS [INPUT in TIME status] The time is max for reversed range 57 FAIL [INPUT in TIME status] The time is outside the accepted range for reversed range assert_true: The validity.rangeOverflow should be true, when control is disabled. expected true got false57 PASS [INPUT in TIME status] The time is outside the accepted range for reversed range 58 58 FAIL [INPUT in TIME status] The time is min for reversed range assert_false: The validity.rangeOverflow should be false. expected false got true 59 59 FAIL [INPUT in TIME status] The time is inside the accepted range for reversed range assert_false: The validity.rangeOverflow should be false. expected false got true … … 64 64 PASS [INPUT in NUMBER status] The max equals to value 65 65 PASS [INPUT in NUMBER status] The value is not a number 66 FAIL [INPUT in NUMBER status] The value is greater than max(integer) assert_true: The validity.rangeOverflow should be true, when control is disabled. expected true got false 67 FAIL [INPUT in NUMBER status] The value is greater than max(floating number) assert_true: The validity.rangeOverflow should be true, when control is disabled. expected true got false 68 FAIL [INPUT in NUMBER status] The value is greater than max(special floating number) assert_true: The validity.rangeOverflow should be true, when control is disabled. expected true got false 69 FAIL [INPUT in NUMBER status] The value is greater than max(scientific notation) assert_true: The validity.rangeOverflow should be true, when control is disabled. expected true got false 66 PASS [INPUT in NUMBER status] The value is greater than max(integer) 67 PASS [INPUT in NUMBER status] The value is greater than max(floating number) 68 PASS [INPUT in NUMBER status] The value is greater than max(special floating number) 69 PASS [INPUT in NUMBER status] The value is greater than max(scientific notation) 70 70 -
trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-rangeUnderflow-expected.txt
r267658 r286316 6 6 PASS [INPUT in DATETIME-LOCAL status] The value is an invalid local date time string(hour is greater than 23) 7 7 PASS [INPUT in DATETIME-LOCAL status] The value is an invalid local date time string(year is two digits) 8 FAIL [INPUT in DATETIME-LOCAL status] The value is less than min assert_true: The validity.rangeUnderflow should be true, when control is disabled. expected true got false 9 FAIL [INPUT in DATETIME-LOCAL status] The value is less than min(with millisecond in 1 digit) assert_true: The validity.rangeUnderflow should be true, when control is disabled. expected true got false 10 FAIL [INPUT in DATETIME-LOCAL status] The value is less than min(with millisecond in 2 digits) assert_true: The validity.rangeUnderflow should be true, when control is disabled. expected true got false 11 FAIL [INPUT in DATETIME-LOCAL status] The value is less than min(with millisecond in 3 digits) assert_true: The validity.rangeUnderflow should be true, when control is disabled. expected true got false 12 FAIL [INPUT in DATETIME-LOCAL status] The value is less than min(Year is 10000 should be valid) assert_true: The validity.rangeUnderflow should be true, when control is disabled. expected true got false 8 PASS [INPUT in DATETIME-LOCAL status] The value is less than min 9 PASS [INPUT in DATETIME-LOCAL status] The value is less than min(with millisecond in 1 digit) 10 PASS [INPUT in DATETIME-LOCAL status] The value is less than min(with millisecond in 2 digits) 11 PASS [INPUT in DATETIME-LOCAL status] The value is less than min(with millisecond in 3 digits) 12 PASS [INPUT in DATETIME-LOCAL status] The value is less than min(Year is 10000 should be valid) 13 13 PASS [INPUT in DATETIME-LOCAL status] The value is greater than max 14 14 PASS [INPUT in DATE status] The min attribute is not set … … 20 20 PASS [INPUT in DATE status] The value is an invalid date(date is less than 29 for Feb) 21 21 PASS [INPUT in DATE status] The min attribute is less than value attribute 22 FAIL [INPUT in DATE status] The value attribute is less than min attribute assert_true: The validity.rangeUnderflow should be true, when control is disabled. expected true got false23 FAIL [INPUT in DATE status] The value attribute is less than min attribute(Year is 10000 should be valid) assert_true: The validity.rangeUnderflow should be true, when control is disabled. expected true got false 22 PASS [INPUT in DATE status] The value attribute is less than min attribute 23 PASS [INPUT in DATE status] The value attribute is less than min attribute(Year is 10000 should be valid) 24 24 PASS [INPUT in MONTH status] The min attribute is not set 25 25 PASS [INPUT in MONTH status] Value is empty string … … 29 29 PASS [INPUT in MONTH status] The value is an invalid month string(month is less than 12) 30 30 PASS [INPUT in MONTH status] The min attribute is less than value attribute 31 FAIL [INPUT in MONTH status] The value attribute is less than min attribute assert_true: The validity.rangeUnderflow should be true, when control is disabled. expected true got false32 FAIL [INPUT in MONTH status] The value attribute is less than min attribute(Year is 10000 should be valid) assert_true: The validity.rangeUnderflow should be true, when control is disabled. expected true got false 31 PASS [INPUT in MONTH status] The value attribute is less than min attribute 32 PASS [INPUT in MONTH status] The value attribute is less than min attribute(Year is 10000 should be valid) 33 33 PASS [INPUT in WEEK status] The min attribute is not set 34 34 PASS [INPUT in WEEK status] Value is empty string … … 39 39 PASS [INPUT in WEEK status] The value is an invalid week string(week is too greater) 40 40 PASS [INPUT in WEEK status] The min attribute is less than value attribute 41 FAIL [INPUT in WEEK status] The value attribute is less than min attribute assert_true: The validity.rangeUnderflow should be true, when control is disabled. expected true got false42 FAIL [INPUT in WEEK status] The value attribute is less than min attribute(Year is 10000 should be valid) assert_true: The validity.rangeUnderflow should be true, when control is disabled. expected true got false 41 PASS [INPUT in WEEK status] The value attribute is less than min attribute 42 PASS [INPUT in WEEK status] The value attribute is less than min attribute(Year is 10000 should be valid) 43 43 PASS [INPUT in TIME status] The min attribute is not set 44 44 PASS [INPUT in TIME status] Value is empty string … … 47 47 PASS [INPUT in TIME status] The min attribute is less than value attribute 48 48 PASS [INPUT in TIME status] The time missing second and minute parts is invalid 49 FAIL [INPUT in TIME status] The value attribute is less than min attribute assert_true: The validity.rangeUnderflow should be true, when control is disabled. expected true got false50 FAIL [INPUT in TIME status] The value is less than min(with millisecond in 1 digit) assert_true: The validity.rangeUnderflow should be true, when control is disabled. expected true got false 51 FAIL [INPUT in TIME status] The value is less than min(with millisecond in 2 digit) assert_true: The validity.rangeUnderflow should be true, when control is disabled. expected true got false 52 FAIL [INPUT in TIME status] The value is less than min(with millisecond in 3 digit) assert_true: The validity.rangeUnderflow should be true, when control is disabled. expected true got false 53 FAIL [INPUT in TIME status] The time missing second part is valid assert_true: The validity.rangeUnderflow should be true, when control is disabled. expected true got false 49 PASS [INPUT in TIME status] The value attribute is less than min attribute 50 PASS [INPUT in TIME status] The value is less than min(with millisecond in 1 digit) 51 PASS [INPUT in TIME status] The value is less than min(with millisecond in 2 digit) 52 PASS [INPUT in TIME status] The value is less than min(with millisecond in 3 digit) 53 PASS [INPUT in TIME status] The time missing second part is valid 54 54 FAIL [INPUT in TIME status] The time is max for reversed range assert_false: The validity.rangeUnderflow should be false. expected false got true 55 FAIL [INPUT in TIME status] The time is outside the accepted range for reversed range assert_true: The validity.rangeUnderflow should be true, when control is disabled. expected true got false55 PASS [INPUT in TIME status] The time is outside the accepted range for reversed range 56 56 PASS [INPUT in TIME status] The time is min for reversed range 57 57 PASS [INPUT in TIME status] The time is inside the accepted range for reversed range … … 62 62 PASS [INPUT in NUMBER status] The min equals to value 63 63 PASS [INPUT in NUMBER status] The value is not a number 64 FAIL [INPUT in NUMBER status] The value is less than min(integer) assert_true: The validity.rangeUnderflow should be true, when control is disabled. expected true got false 65 FAIL [INPUT in NUMBER status] The value is less than min(floating number) assert_true: The validity.rangeUnderflow should be true, when control is disabled. expected true got false 66 FAIL [INPUT in NUMBER status] The value is less than min(special floating number) assert_true: The validity.rangeUnderflow should be true, when control is disabled. expected true got false 67 FAIL [INPUT in NUMBER status] The value is less than min(scientific notation) assert_true: The validity.rangeUnderflow should be true, when control is disabled. expected true got false 64 PASS [INPUT in NUMBER status] The value is less than min(integer) 65 PASS [INPUT in NUMBER status] The value is less than min(floating number) 66 PASS [INPUT in NUMBER status] The value is less than min(special floating number) 67 PASS [INPUT in NUMBER status] The value is less than min(scientific notation) 68 68 -
trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-stepMismatch-expected.txt
r267658 r286316 3 3 PASS [INPUT in DATE status] The value attibute is empty string 4 4 PASS [INPUT in DATE status] The value must match the step 5 FAIL [INPUT in DATE status] The value must mismatch the step assert_true: The validity.stepMismatch should be true, when control is disabled. expected true got false 5 PASS [INPUT in DATE status] The value must mismatch the step 6 6 PASS [INPUT in MONTH status] The step attribute is not set 7 7 PASS [INPUT in MONTH status] The value attibute is empty string 8 8 PASS [INPUT in MONTH status] The value must match the step 9 FAIL [INPUT in MONTH status] The value must mismatch the step assert_true: The validity.stepMismatch should be true, when control is disabled. expected true got false 9 PASS [INPUT in MONTH status] The value must mismatch the step 10 10 PASS [INPUT in WEEK status] The step attribute is not set 11 11 PASS [INPUT in WEEK status] The value attibute is empty string 12 12 PASS [INPUT in WEEK status] The value must match the step 13 FAIL [INPUT in WEEK status] The value must mismatch the step assert_true: The validity.stepMismatch should be true, when control is disabled. expected true got false 13 PASS [INPUT in WEEK status] The value must mismatch the step 14 14 PASS [INPUT in TIME status] The step attribute is not set 15 15 PASS [INPUT in TIME status] The value attibute is empty string 16 16 PASS [INPUT in TIME status] The value must match the step 17 FAIL [INPUT in TIME status] The value must mismatch the step assert_true: The validity.stepMismatch should be true, when control is disabled. expected true got false 17 PASS [INPUT in TIME status] The value must mismatch the step 18 18 PASS [INPUT in DATETIME-LOCAL status] The step attribute is not set 19 19 PASS [INPUT in DATETIME-LOCAL status] The value attibute is empty string 20 20 PASS [INPUT in DATETIME-LOCAL status] The value must match the step 21 FAIL [INPUT in DATETIME-LOCAL status] The value must mismatch the step assert_true: The validity.stepMismatch should be true, when control is disabled. expected true got false 21 PASS [INPUT in DATETIME-LOCAL status] The value must mismatch the step 22 22 PASS [INPUT in NUMBER status] The step attribute is not set 23 FAIL [INPUT in NUMBER status] The step attribute is not set and the value attribute is a floating number assert_true: The validity.stepMismatch should be true, when control is disabled. expected true got false 23 PASS [INPUT in NUMBER status] The step attribute is not set and the value attribute is a floating number 24 24 PASS [INPUT in NUMBER status] The value attribute is empty string 25 25 PASS [INPUT in NUMBER status] The value must match the step 26 FAIL [INPUT in NUMBER status] The value must mismatch the step assert_true: The validity.stepMismatch should be true, when control is disabled. expected true got false 26 PASS [INPUT in NUMBER status] The value must mismatch the step 27 27 PASS [INPUT in NUMBER status] No step mismatch when step is a floating number and value is its integral multiple 28 28 PASS [INPUT in NUMBER status] No step mismatch when step is a floating number in exponent format and value is its integral multiple 29 FAIL [INPUT in NUMBER status] Step mismatch when step is a very small floating number and value is not its integral multiple assert_true: The validity.stepMismatch should be true, when control is disabled. expected true got false29 PASS [INPUT in NUMBER status] Step mismatch when step is a very small floating number and value is not its integral multiple 30 30 -
trunk/Source/WebCore/ChangeLog
r286315 r286316 1 2021-11-30 Chris Dumez <cdumez@apple.com> 2 3 Several WPT tests under html/semantics/forms/constraints are failing due to extraneous willValidate() checks 4 https://bugs.webkit.org/show_bug.cgi?id=233604 5 6 Reviewed by Darin Adler. 7 8 Several WPT tests under html/semantics/forms/constraints are failing due to extraneous willValidate() checks. 9 Per the specification and to match the behavior of Blink & Gecko, ValidityState properties such as 10 `validity.typeMismatch` should return true in case of mismatch even if the control is disabled (and thus 11 willValidate() returns false). 12 13 No new tests, rebaselined existing tests. 14 15 * html/HTMLInputElement.cpp: 16 (WebCore::HTMLInputElement::tooShort const): 17 (WebCore::HTMLInputElement::tooLong const): 18 (WebCore::HTMLInputElement::typeMismatch const): 19 (WebCore::HTMLInputElement::hasBadInput const): 20 (WebCore::HTMLInputElement::rangeUnderflow const): 21 (WebCore::HTMLInputElement::rangeOverflow const): 22 (WebCore::HTMLInputElement::stepMismatch const): 23 1 24 2021-11-30 Chris Dumez <cdumez@apple.com> 2 25 -
trunk/Source/WebCore/html/HTMLInputElement.cpp
r286315 r286316 287 287 bool HTMLInputElement::tooShort() const 288 288 { 289 return willValidate() &&tooShort(value(), CheckDirtyFlag);289 return tooShort(value(), CheckDirtyFlag); 290 290 } 291 291 292 292 bool HTMLInputElement::tooLong() const 293 293 { 294 return willValidate() &&tooLong(value(), CheckDirtyFlag);294 return tooLong(value(), CheckDirtyFlag); 295 295 } 296 296 297 297 bool HTMLInputElement::typeMismatch() const 298 298 { 299 return willValidate() &&m_inputType->typeMismatch();299 return m_inputType->typeMismatch(); 300 300 } 301 301 … … 307 307 bool HTMLInputElement::hasBadInput() const 308 308 { 309 return willValidate() &&m_inputType->hasBadInput();309 return m_inputType->hasBadInput(); 310 310 } 311 311 … … 356 356 bool HTMLInputElement::rangeUnderflow() const 357 357 { 358 return willValidate() &&m_inputType->rangeUnderflow(value());358 return m_inputType->rangeUnderflow(value()); 359 359 } 360 360 361 361 bool HTMLInputElement::rangeOverflow() const 362 362 { 363 return willValidate() &&m_inputType->rangeOverflow(value());363 return m_inputType->rangeOverflow(value()); 364 364 } 365 365 … … 387 387 bool HTMLInputElement::stepMismatch() const 388 388 { 389 return willValidate() &&m_inputType->stepMismatch(value());389 return m_inputType->stepMismatch(value()); 390 390 } 391 391
Note:
See TracChangeset
for help on using the changeset viewer.