1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:07:35 +00:00

LibWeb: Allow specifying a URL for an SVG fill

This does not do anything yet, but will allow for gradients later!
This commit is contained in:
MacDue 2023-04-21 18:31:00 +01:00 committed by Andreas Kling
parent 2fbe5b969b
commit a5fa5e55ef
4 changed files with 25 additions and 1 deletions

View file

@ -267,6 +267,7 @@ private:
Font,
};
Optional<AK::URL> parse_url_function(ComponentValue const&, AllowedDataUrlType = AllowedDataUrlType::None);
RefPtr<StyleValue> parse_url_value(ComponentValue const&, AllowedDataUrlType = AllowedDataUrlType::None);
Optional<Vector<LinearColorStopListElement>> parse_linear_color_stop_list(TokenStream<ComponentValue>&);
Optional<Vector<AngularColorStopListElement>> parse_angular_color_stop_list(TokenStream<ComponentValue>&);