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