LibWeb: Make SVGs respect their CSS transforms

This commit is contained in:
Psychpsyo 2024-11-22 21:04:18 +01:00 committed by Alexander Kalenik
commit 6f52064c4f
Notes: github-actions[bot] 2024-11-24 13:32:12 +00:00
5 changed files with 76 additions and 48 deletions

View file

@ -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);
}