mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-21 07:29:53 +00:00
LibWeb/SVG: Respect paint-order
when painting SVG paths
This commit is contained in:
parent
a87a9156d5
commit
277b81ca97
Notes:
github-actions[bot]
2025-08-28 09:32:27 +00:00
Author: https://github.com/tcl3
Commit: 277b81ca97
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5977
Reviewed-by: https://github.com/AtkinsSJ ✅
5 changed files with 155 additions and 81 deletions
|
@ -202,6 +202,13 @@ Optional<float> SVGGraphicsElement::fill_opacity() const
|
|||
return layout_node()->computed_values().fill_opacity();
|
||||
}
|
||||
|
||||
CSS::PaintOrderList SVGGraphicsElement::paint_order() const
|
||||
{
|
||||
if (!layout_node())
|
||||
return CSS::InitialValues::paint_order();
|
||||
return layout_node()->computed_values().paint_order();
|
||||
}
|
||||
|
||||
Optional<CSS::StrokeLinecap> SVGGraphicsElement::stroke_linecap() const
|
||||
{
|
||||
if (!layout_node())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue