LibHTML: Fix missing backgrounds an borders after LayoutBox refactoring

The render() implementation in both LayoutBlock and LayoutBox need to
be calling the immediate parent class. :^)
This commit is contained in:
Andreas Kling 2019-10-15 19:12:12 +02:00
commit 110b2d52f2
Notes: sideshowbarker 2024-07-19 11:41:10 +09:00
2 changed files with 6 additions and 1 deletions

View file

@ -202,7 +202,7 @@ void LayoutBlock::render(RenderingContext& context)
if (!is_visible())
return;
LayoutNode::render(context);
LayoutBox::render(context);
if (children_are_inline()) {
for (auto& line_box : m_line_boxes) {