mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +00:00
LibWeb: Tokenize CSS numbers as doubles
Every later stage uses doubles, so dropping that precision right at the start of parsing is a little silly. :^)
This commit is contained in:
parent
c20df751c9
commit
1a5533e528
2 changed files with 3 additions and 3 deletions
|
@ -87,7 +87,7 @@ private:
|
|||
[[nodiscard]] ErrorOr<Token> consume_a_numeric_token();
|
||||
[[nodiscard]] ErrorOr<Token> consume_an_ident_like_token();
|
||||
[[nodiscard]] Number consume_a_number();
|
||||
[[nodiscard]] float convert_a_string_to_a_number(StringView);
|
||||
[[nodiscard]] double convert_a_string_to_a_number(StringView);
|
||||
[[nodiscard]] ErrorOr<FlyString> consume_an_ident_sequence();
|
||||
[[nodiscard]] u32 consume_escaped_code_point();
|
||||
[[nodiscard]] ErrorOr<Token> consume_a_url_token();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue