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:
Aliaksandr Kalenik 2023-01-09 07:25:05 +03:00 committed by Andreas Kling
commit e107c83a57
Notes: sideshowbarker 2024-07-17 05:03:11 +09:00
4 changed files with 7 additions and 7 deletions

View file

@ -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)
{
}