mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:37:35 +00:00
LibWeb: Add parsing for CSS <paint>
values
This gets rid of a couple of FIXMEs in Properties.json :^)
This commit is contained in:
parent
23aae7c7f3
commit
5cdcd135ab
4 changed files with 44 additions and 22 deletions
|
@ -311,6 +311,7 @@ private:
|
|||
ErrorOr<RefPtr<StyleValue>> parse_ratio_value(TokenStream<ComponentValue>&);
|
||||
ErrorOr<RefPtr<StyleValue>> parse_string_value(ComponentValue const&);
|
||||
ErrorOr<RefPtr<StyleValue>> parse_image_value(ComponentValue const&);
|
||||
ErrorOr<RefPtr<StyleValue>> parse_paint_value(TokenStream<ComponentValue>&);
|
||||
template<typename ParseFunction>
|
||||
ErrorOr<RefPtr<StyleValue>> parse_comma_separated_value_list(Vector<ComponentValue> const&, ParseFunction);
|
||||
ErrorOr<RefPtr<StyleValue>> parse_simple_comma_separated_value_list(PropertyID, Vector<ComponentValue> const&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue