mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-28 15:28:55 +00:00
LibWeb/HTML: Implement valueAsNumber for 'time' input type
This commit is contained in:
parent
4bd4d777eb
commit
21d26c5c3e
Notes:
github-actions[bot]
2025-03-06 14:02:13 +00:00
Author: https://github.com/shannonbooth
Commit: 21d26c5c3e
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3830
3 changed files with 9 additions and 6 deletions
|
@ -2263,6 +2263,9 @@ String HTMLInputElement::convert_number_to_string(double input) const
|
|||
if (type_state() == TypeAttributeState::Date)
|
||||
return convert_number_to_date_string(input);
|
||||
|
||||
if (type_state() == TypeAttributeState::Time)
|
||||
return convert_number_to_time_string(input);
|
||||
|
||||
dbgln("HTMLInputElement::convert_number_to_string() not implemented for input type {}", type());
|
||||
return {};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue