mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:28:12 +00:00
LibWeb: Remove inheritance of TableBox
from BlockContainer
Fixup rule that table roots need to be wrapped in anonymous block boxes need to be implemeted instead of having `TableBox` inherited from `BlockContainer`.
This commit is contained in:
parent
c8337e9ee8
commit
e107c83a57
4 changed files with 7 additions and 7 deletions
|
@ -36,7 +36,7 @@ struct Traits<GridPosition> : public GenericTraits<GridPosition> {
|
|||
|
||||
namespace Web::Layout {
|
||||
|
||||
TableFormattingContext::TableFormattingContext(LayoutState& state, BlockContainer const& root, FormattingContext* parent)
|
||||
TableFormattingContext::TableFormattingContext(LayoutState& state, TableBox const& root, FormattingContext* parent)
|
||||
: FormattingContext(Type::Table, state, root, parent)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue