mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibWeb: Make SVGs respect their CSS transforms
This commit is contained in:
parent
15741350ba
commit
6f52064c4f
Notes:
github-actions[bot]
2024-11-24 13:32:12 +00:00
Author: https://github.com/Psychpsyo
Commit: 6f52064c4f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2510
5 changed files with 76 additions and 48 deletions
|
@ -104,7 +104,7 @@ void StackingContext::paint_svg(PaintContext& context, PaintableBox const& paint
|
|||
paintable.apply_clip_overflow_rect(context, PaintPhase::Foreground);
|
||||
paint_node(paintable, context, PaintPhase::Background);
|
||||
paint_node(paintable, context, PaintPhase::Border);
|
||||
SVGSVGPaintable::paint_descendants(context, paintable, phase);
|
||||
SVGSVGPaintable::paint_svg_box(context, paintable, phase);
|
||||
paintable.clear_clip_overflow_rect(context, PaintPhase::Foreground);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue