mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:28:12 +00:00
LibWeb: Parse the content
property
For now, we only understand `none`, `normal`, `<image>` and `<string>`. The various other functions and identifiers can be added later. We can *almost* use a StyleValueList for this, except it's divided into two parts - the content, and the optional "alt text". So, I've added a new StyleValue for it.
This commit is contained in:
parent
a9ad72cc0f
commit
adaab23149
6 changed files with 120 additions and 0 deletions
|
@ -274,6 +274,7 @@ private:
|
|||
RefPtr<StyleValue> parse_border_radius_shorthand_value(Vector<StyleComponentValueRule> const&);
|
||||
RefPtr<StyleValue> parse_box_shadow_value(Vector<StyleComponentValueRule> const&);
|
||||
RefPtr<StyleValue> parse_single_box_shadow_value(TokenStream<StyleComponentValueRule>&);
|
||||
RefPtr<StyleValue> parse_content_value(Vector<StyleComponentValueRule> const&);
|
||||
RefPtr<StyleValue> parse_flex_value(Vector<StyleComponentValueRule> const&);
|
||||
RefPtr<StyleValue> parse_flex_flow_value(Vector<StyleComponentValueRule> const&);
|
||||
RefPtr<StyleValue> parse_font_value(Vector<StyleComponentValueRule> const&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue