mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 06:48:49 +00:00
LibWeb: Implement “convert a string to a number” for type=time inputs
This commit is contained in:
parent
678f531fe5
commit
8b0f6cb876
Notes:
github-actions[bot]
2025-03-04 12:34:10 +00:00
Author: https://github.com/sideshowbarker
Commit: 8b0f6cb876
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3794
Reviewed-by: https://github.com/tcl3 ✅
4 changed files with 39 additions and 13 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue