1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 09:34:57 +09:00

LibWeb/Painting: Call Base::resolve_paint_properties() from children

This commit is contained in:
Sam Atkins 2025-02-20 12:18:03 +00:00 committed by Andreas Kling
parent d127d412c8
commit fd2414ba35
Notes: github-actions[bot] 2025-02-28 12:51:35 +00:00

View file

@ -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()) {