1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:47:44 +00:00

LibWeb: Parse overflow property using TokenStream

Also simplify it a bit. We don't need to handle 1 / 2 values separately,
but past Sam didn't realise that.
This commit is contained in:
Sam Atkins 2023-12-08 17:09:03 +00:00 committed by Sam Atkins
parent 0578bec655
commit 4f773a7dae
2 changed files with 13 additions and 20 deletions

View file

@ -242,7 +242,7 @@ private:
RefPtr<StyleValue> parse_font_family_value(TokenStream<ComponentValue>&);
RefPtr<StyleValue> parse_list_style_value(TokenStream<ComponentValue>&);
RefPtr<StyleValue> parse_math_depth_value(TokenStream<ComponentValue>&);
RefPtr<StyleValue> parse_overflow_value(Vector<ComponentValue> const&);
RefPtr<StyleValue> parse_overflow_value(TokenStream<ComponentValue>&);
RefPtr<StyleValue> parse_place_content_value(Vector<ComponentValue> const&);
RefPtr<StyleValue> parse_place_items_value(Vector<ComponentValue> const&);
RefPtr<StyleValue> parse_place_self_value(Vector<ComponentValue> const&);