#pragma once #include class LayoutTableCell final : public LayoutBlock { public: LayoutTableCell(const Element&, NonnullRefPtr); virtual ~LayoutTableCell() override; private: virtual bool is_table_cell() const override { return true; } virtual const char* class_name() const override { return "LayoutTableCell"; } }; template<> inline bool is(const LayoutNode& node) { return node.is_table_cell(); }