ladybird/Libraries/LibHTML/Layout/LayoutTable.cpp
Andreas Kling 41896ff521 LibHTML: Add stub classes for basic table layout
This class introduces LayoutTable, LayoutTableRow and LayoutTableCell.
These are produced by "display" values table, table-row and table-cell
respectively.

Note that there's no layout happening yet, I'm just adding the classes.
2019-10-17 23:39:31 +02:00

16 lines
298 B
C++

#include <LibHTML/DOM/Element.h>
#include <LibHTML/Layout/LayoutTable.h>
LayoutTable::LayoutTable(const Element& element, NonnullRefPtr<StyleProperties> style)
: LayoutBlock(&element, move(style))
{
}
LayoutTable::~LayoutTable()
{
}
void LayoutTable::layout()
{
LayoutBlock::layout();
}