
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.
14 lines
340 B
C++
14 lines
340 B
C++
#pragma once
|
|
|
|
#include <LibHTML/Layout/LayoutBlock.h>
|
|
|
|
class LayoutTable final : public LayoutBlock {
|
|
public:
|
|
LayoutTable(const Element&, NonnullRefPtr<StyleProperties>);
|
|
virtual ~LayoutTable() override;
|
|
|
|
virtual void layout() override;
|
|
|
|
private:
|
|
virtual const char* class_name() const override { return "LayoutTable"; }
|
|
};
|