LibWeb: Implement “convert a string to a number” for type=time inputs

This commit is contained in:
sideshowbarker 2025-03-04 20:19:45 +09:00 committed by Tim Ledbetter
parent 678f531fe5
commit 8b0f6cb876
Notes: github-actions[bot] 2025-03-04 12:34:10 +00:00
4 changed files with 39 additions and 13 deletions

View file

@ -278,6 +278,7 @@ private:
virtual void initialize(JS::Realm&) override;
virtual void visit_edges(Cell::Visitor&) override;
Optional<double> convert_time_string_to_number(StringView input) const;
Optional<double> convert_string_to_number(StringView input) const;
String convert_number_to_string(double input) const;