LibWeb/HTML: Implement valueAsNumber for 'time' input type

This commit is contained in:
Shannon Booth 2025-03-06 15:35:27 +13:00 committed by Tim Flynn
parent 4bd4d777eb
commit 21d26c5c3e
Notes: github-actions[bot] 2025-03-06 14:02:13 +00:00
3 changed files with 9 additions and 6 deletions

View file

@ -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 {};
}