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:
parent
4814253589
commit
110b2d52f2
2 changed files with 6 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue