mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +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:
parent
1bdc4e6b29
commit
c8337e9ee8
Notes:
sideshowbarker
2024-07-17 03:30:41 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: c8337e9ee8
Pull-request: https://github.com/SerenityOS/serenity/pull/16913
Reviewed-by: https://github.com/awesomekling
3 changed files with 7 additions and 10 deletions
|
@ -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))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue