Files
ladybird/Libraries/LibWeb/HTML/Dates.cpp
Shannon Booth 6e257897f6 LibWeb/HTML: Implement <input> element valueAsNumber for 'week'
One point to note is that I am not entirely sure what the result
of the pre-existing valueAsNumber test should be for this strange
case which does not lie exactly on a week/day boundary. Chrome
gives a negative timestamp, which seems more wrong than the result
we give, and neither gecko or WebKit appear to support the 'week'
type. So I'm considering this result acceptable for now, and this
may be something that will need more WPT tests added in the future.
2025-02-22 19:09:41 +00:00

15 KiB