1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-01 03:22:12 +00:00

LibWeb: Add basis of the convert number to string algorithm functions

This commit is contained in:
Bastiaan van der Plaat 2023-12-07 19:29:32 +01:00 committed by Tim Flynn
parent 39c4a5e948
commit c0751b2a49
2 changed files with 30 additions and 4 deletions

View file

@ -180,6 +180,9 @@ private:
virtual void initialize(JS::Realm&) override;
virtual void visit_edges(Cell::Visitor&) override;
Optional<double> convert_string_to_number(StringView input) const;
String covert_number_to_string(double input) const;
static TypeAttributeState parse_type_attribute(StringView);
void create_shadow_tree_if_needed();
void create_text_input_shadow_tree();