From fd2414ba357bd47508575e4ffe939abe6f2ae4ad Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Thu, 20 Feb 2025 12:18:03 +0000 Subject: [PATCH] LibWeb/Painting: Call Base::resolve_paint_properties() from children --- Libraries/LibWeb/Painting/PaintableBox.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Libraries/LibWeb/Painting/PaintableBox.cpp b/Libraries/LibWeb/Painting/PaintableBox.cpp index b88b3697307..de22f009f76 100644 --- a/Libraries/LibWeb/Painting/PaintableBox.cpp +++ b/Libraries/LibWeb/Painting/PaintableBox.cpp @@ -1214,6 +1214,8 @@ CSSPixelRect PaintableBox::transform_box_rect() const void PaintableBox::resolve_paint_properties() { + Base::resolve_paint_properties(); + auto const& computed_values = this->computed_values(); auto const& layout_node = this->layout_node(); @@ -1316,7 +1318,7 @@ void PaintableBox::resolve_paint_properties() void PaintableWithLines::resolve_paint_properties() { - PaintableBox::resolve_paint_properties(); + Base::resolve_paint_properties(); auto const& layout_node = this->layout_node(); for (auto const& fragment : fragments()) {