mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 11:37:16 +02:00
LibWeb/HTML: Implement valueAsNumber for 'time' input type
This commit is contained in:
Notes:
github-actions[bot]
2025-03-06 14:02:13 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/21d26c5c3ee Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3830
@@ -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 {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user