1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:37:37 +00:00

LibWeb: Set line height for table boxes generated during fixup

This commit is contained in:
Andi Gallo 2023-08-30 01:51:54 +00:00 committed by Andreas Kling
parent b3fa79e64d
commit fab4d543f6
2 changed files with 17 additions and 16 deletions

View file

@ -587,6 +587,7 @@ static void wrap_in_anonymous(Vector<JS::Handle<Node>>& sequence, Node* nearest_
wrapper->append_child(*child);
}
wrapper->set_children_are_inline(parent.children_are_inline());
wrapper->set_line_height(parent.line_height());
if (nearest_sibling)
parent.insert_before(*wrapper, *nearest_sibling);
else