1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 05:47:34 +00:00

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
parent 4814253589
commit 110b2d52f2
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) {