LibWeb/CSS: Add a method to parse a value based on a ValueType

This commit is contained in:
Sam Atkins 2025-07-10 16:22:36 +01:00 committed by Tim Ledbetter
commit c7d4c4fbff
Notes: github-actions[bot] 2025-07-16 13:49:34 +00:00
5 changed files with 64 additions and 1 deletions

View file

@ -291,6 +291,8 @@ private:
Vector<Gfx::UnicodeRange> parse_unicode_ranges(TokenStream<ComponentValue>&);
RefPtr<UnicodeRangeStyleValue const> parse_unicode_range_value(TokenStream<ComponentValue>&);
RefPtr<CSSStyleValue const> parse_value(ValueType, TokenStream<ComponentValue>&);
Optional<GridSize> parse_grid_track_breadth(TokenStream<ComponentValue>&);
Optional<GridSize> parse_grid_inflexible_breadth(TokenStream<ComponentValue>&);
Optional<GridSize> parse_grid_fixed_breadth(TokenStream<ComponentValue>&);