mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
LibWeb: Support multi-keyword syntax for CSS display property
The Display class already supported all specific values, and now they will be parsed too. The display property now has a special type DisplayStyleValue.
This commit is contained in:
parent
81c11bc6f2
commit
31e1be0438
Notes:
sideshowbarker
2024-07-17 21:16:31 +09:00
Author: https://github.com/emilitzerjo
Commit: 31e1be0438
Pull-request: https://github.com/SerenityOS/serenity/pull/18524
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/nico
13 changed files with 249 additions and 55 deletions
|
@ -302,6 +302,7 @@ private:
|
|||
RefPtr<StyleValue> parse_border_radius_value(Vector<ComponentValue> const&);
|
||||
RefPtr<StyleValue> parse_border_radius_shorthand_value(Vector<ComponentValue> const&);
|
||||
RefPtr<StyleValue> parse_content_value(Vector<ComponentValue> const&);
|
||||
RefPtr<StyleValue> parse_display_value(Vector<ComponentValue> const&);
|
||||
RefPtr<StyleValue> parse_flex_value(Vector<ComponentValue> const&);
|
||||
RefPtr<StyleValue> parse_flex_flow_value(Vector<ComponentValue> const&);
|
||||
RefPtr<StyleValue> parse_font_value(Vector<ComponentValue> const&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue