mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:37:34 +00:00
LibWeb: Support painting repeating-linear-gradient()
s
This commit is contained in:
parent
ffdcc60b03
commit
e294b7929a
2 changed files with 21 additions and 8 deletions
|
@ -25,6 +25,7 @@ using ColorStopList = Vector<ColorStop, 4>;
|
|||
struct LinearGradientData {
|
||||
float gradient_angle;
|
||||
ColorStopList color_stops;
|
||||
Optional<float> repeat_length;
|
||||
};
|
||||
|
||||
LinearGradientData resolve_linear_gradient_data(Layout::Node const&, Gfx::FloatSize const&, CSS::LinearGradientStyleValue const&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue