mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
LibWeb/HTML: Handle missing second component in datetime-local
We were previously not checking for EOF which meant we were not handling seconds being missing in the time component.
This commit is contained in:
Notes:
github-actions[bot]
2025-03-18 19:06:05 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/894c51e8e7f Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3981 Reviewed-by: https://github.com/trflynn89 ✅
@@ -35,7 +35,7 @@ date did not throw: 0
|
||||
month did not throw: 100
|
||||
week did not throw: 345600000
|
||||
time did not throw: 0
|
||||
datetime-local did not throw: NaN
|
||||
datetime-local did not throw: 0
|
||||
color threw exception: InvalidStateError: valueAsNumber: Invalid input type used
|
||||
checkbox threw exception: InvalidStateError: valueAsNumber: Invalid input type used
|
||||
radio threw exception: InvalidStateError: valueAsNumber: Invalid input type used
|
||||
|
||||
Reference in New Issue
Block a user