mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:07:45 +00:00
LibWeb: Support repeating-radial-gradient()
s
This commit is contained in:
parent
f539bf467c
commit
28028be2fc
4 changed files with 17 additions and 5 deletions
|
@ -163,7 +163,7 @@ RadialGradientData resolve_radial_gradient_data(Layout::Node const& node, Gfx::F
|
|||
radial_gradient.color_stop_list(), [&](auto const& length_percentage) {
|
||||
return length_percentage.resolved(node, gradient_length).to_px(node) / gradient_size.width();
|
||||
},
|
||||
false);
|
||||
radial_gradient.is_repeating());
|
||||
return { resolved_color_stops };
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue