1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:18:13 +00:00

LibWeb: Remove inheritance of TableRowGroupBox from BlockContainer

Having `TableRowGroupBox` not inherited from `BlockContainer`
allows to write more simpler layout code.
This commit is contained in:
Aliaksandr Kalenik 2023-01-09 07:17:28 +03:00 committed by Andreas Kling
parent 1bdc4e6b29
commit c8337e9ee8
3 changed files with 7 additions and 10 deletions

View file

@ -12,7 +12,7 @@
namespace Web::Layout {
TableRowGroupBox::TableRowGroupBox(DOM::Document& document, DOM::Element* element, NonnullRefPtr<CSS::StyleProperties> style)
: Layout::BlockContainer(document, element, move(style))
: Layout::Box(document, element, move(style))
{
}