mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00:00
LibWeb: Implement string->number for type=datetime-local input elements
This commit is contained in:
parent
90b303215e
commit
4def3fe567
Notes:
github-actions[bot]
2025-03-10 10:35:00 +00:00
Author: https://github.com/sideshowbarker
Commit: 4def3fe567
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3849
Reviewed-by: https://github.com/tcl3
6 changed files with 148 additions and 17 deletions
|
@ -2,8 +2,7 @@ Harness status: OK
|
|||
|
||||
Found 132 tests
|
||||
|
||||
126 Pass
|
||||
6 Fail
|
||||
132 Pass
|
||||
Pass [INPUT in TEXT status] no constraint
|
||||
Pass [INPUT in TEXT status] no constraint (in a form)
|
||||
Pass [INPUT in TEXT status] not suffering from being too long
|
||||
|
@ -58,12 +57,12 @@ Pass [INPUT in EMAIL status] suffering from being missing
|
|||
Pass [INPUT in EMAIL status] suffering from being missing (in a form)
|
||||
Pass [INPUT in DATETIME-LOCAL status] no constraint
|
||||
Pass [INPUT in DATETIME-LOCAL status] no constraint (in a form)
|
||||
Fail [INPUT in DATETIME-LOCAL status] suffering from an overflow
|
||||
Fail [INPUT in DATETIME-LOCAL status] suffering from an overflow (in a form)
|
||||
Fail [INPUT in DATETIME-LOCAL status] suffering from an underflow
|
||||
Fail [INPUT in DATETIME-LOCAL status] suffering from an underflow (in a form)
|
||||
Fail [INPUT in DATETIME-LOCAL status] suffering from a step mismatch
|
||||
Fail [INPUT in DATETIME-LOCAL status] suffering from a step mismatch (in a form)
|
||||
Pass [INPUT in DATETIME-LOCAL status] suffering from an overflow
|
||||
Pass [INPUT in DATETIME-LOCAL status] suffering from an overflow (in a form)
|
||||
Pass [INPUT in DATETIME-LOCAL status] suffering from an underflow
|
||||
Pass [INPUT in DATETIME-LOCAL status] suffering from an underflow (in a form)
|
||||
Pass [INPUT in DATETIME-LOCAL status] suffering from a step mismatch
|
||||
Pass [INPUT in DATETIME-LOCAL status] suffering from a step mismatch (in a form)
|
||||
Pass [INPUT in DATETIME-LOCAL status] suffering from being missing
|
||||
Pass [INPUT in DATETIME-LOCAL status] suffering from being missing (in a form)
|
||||
Pass [INPUT in DATE status] no constraint
|
||||
|
|
|
@ -2,19 +2,19 @@ Harness status: OK
|
|||
|
||||
Found 49 tests
|
||||
|
||||
41 Pass
|
||||
8 Fail
|
||||
43 Pass
|
||||
6 Fail
|
||||
Pass [INPUT in DATETIME-LOCAL status] The max attribute is not set
|
||||
Pass [INPUT in DATETIME-LOCAL status] Value is empty string
|
||||
Pass [INPUT in DATETIME-LOCAL status] The max attribute is an invalid local date time string
|
||||
Pass [INPUT in DATETIME-LOCAL status] The max attribute is greater than the value attribute
|
||||
Pass [INPUT in DATETIME-LOCAL status] The value is an invalid local date time string(hour is greater than 23)
|
||||
Pass [INPUT in DATETIME-LOCAL status] The value if an invalid local date time string(year is two digits)
|
||||
Fail [INPUT in DATETIME-LOCAL status] The value is greater than max
|
||||
Pass [INPUT in DATETIME-LOCAL status] The value is greater than max
|
||||
Fail [INPUT in DATETIME-LOCAL status] The value is greater than max(with millisecond in 1 digit)
|
||||
Fail [INPUT in DATETIME-LOCAL status] The value is greater than max(with millisecond in 2 digits)
|
||||
Fail [INPUT in DATETIME-LOCAL status] The value is greater than max(with millisecond in 3 digits)
|
||||
Fail [INPUT in DATETIME-LOCAL status] The value is greater than max(Year is 10000 should be valid)
|
||||
Pass [INPUT in DATETIME-LOCAL status] The value is greater than max(Year is 10000 should be valid)
|
||||
Pass [INPUT in DATE status] The max attribute is not set
|
||||
Pass [INPUT in DATE status] Value is empty string
|
||||
Pass [INPUT in DATE status] The max attribute is an invalid date
|
||||
|
|
|
@ -2,19 +2,19 @@ Harness status: OK
|
|||
|
||||
Found 47 tests
|
||||
|
||||
39 Pass
|
||||
8 Fail
|
||||
41 Pass
|
||||
6 Fail
|
||||
Pass [INPUT in DATETIME-LOCAL status] The min attribute is not set
|
||||
Pass [INPUT in DATETIME-LOCAL status] Value is empty string
|
||||
Pass [INPUT in DATETIME-LOCAL status] The min attribute is an invalid local date time string
|
||||
Pass [INPUT in DATETIME-LOCAL status] The min attribute is less than the value attribute
|
||||
Pass [INPUT in DATETIME-LOCAL status] The value is an invalid local date time string(hour is greater than 23)
|
||||
Pass [INPUT in DATETIME-LOCAL status] The value is an invalid local date time string(year is two digits)
|
||||
Fail [INPUT in DATETIME-LOCAL status] The value is less than min
|
||||
Pass [INPUT in DATETIME-LOCAL status] The value is less than min
|
||||
Fail [INPUT in DATETIME-LOCAL status] The value is less than min(with millisecond in 1 digit)
|
||||
Fail [INPUT in DATETIME-LOCAL status] The value is less than min(with millisecond in 2 digits)
|
||||
Fail [INPUT in DATETIME-LOCAL status] The value is less than min(with millisecond in 3 digits)
|
||||
Fail [INPUT in DATETIME-LOCAL status] The value is less than min(Year is 10000 should be valid)
|
||||
Pass [INPUT in DATETIME-LOCAL status] The value is less than min(Year is 10000 should be valid)
|
||||
Pass [INPUT in DATETIME-LOCAL status] The value is greater than max
|
||||
Pass [INPUT in DATE status] The min attribute is not set
|
||||
Pass [INPUT in DATE status] Value is empty string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue