
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.
16 lines
298 B
C++
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();
|
|
}
|