mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:27:35 +00:00
LibWeb: Add support for the SVG gradient spreadMethod attribute
This commit is contained in:
parent
1ecb2cf28c
commit
46f42d9755
6 changed files with 52 additions and 0 deletions
|
@ -131,6 +131,7 @@ Optional<Gfx::PaintStyle const&> SVGLinearGradientElement::to_gfx_paint_style(SV
|
|||
}
|
||||
|
||||
m_paint_style->set_gradient_transform(gradient_paint_transform(paint_context));
|
||||
m_paint_style->set_spread_method(to_gfx_spread_method(spread_method()));
|
||||
return *m_paint_style;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue