mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 19:19:30 +00:00
LibWeb: Parse dimension values using TokenStream
This commit is contained in:
parent
efce563abd
commit
59c79e848c
Notes:
sideshowbarker
2024-07-17 04:03:27 +09:00
Author: https://github.com/AtkinsSJ
Commit: 59c79e848c
Pull-request: https://github.com/SerenityOS/serenity/pull/24062
Reviewed-by: https://github.com/Hendiadyoin1
2 changed files with 14 additions and 8 deletions
|
@ -219,7 +219,7 @@ private:
|
|||
// NOTE: Implemented in generated code. (GenerateCSSMathFunctions.cpp)
|
||||
OwnPtr<CalculationNode> parse_math_function(PropertyID, Function const&);
|
||||
OwnPtr<CalculationNode> parse_a_calc_function_node(Function const&);
|
||||
RefPtr<StyleValue> parse_dimension_value(ComponentValue const&);
|
||||
RefPtr<StyleValue> parse_dimension_value(TokenStream<ComponentValue>&);
|
||||
RefPtr<StyleValue> parse_integer_value(TokenStream<ComponentValue>&);
|
||||
RefPtr<StyleValue> parse_number_value(TokenStream<ComponentValue>&);
|
||||
RefPtr<StyleValue> parse_number_or_percentage_value(TokenStream<ComponentValue>&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue