1234567891011121314151617181920212223242526272829 |
- #pragma once
- #include <LibHTML/Layout/LayoutBox.h>
- class LayoutTableCell;
- class LayoutTableRow final : public LayoutBox {
- public:
- LayoutTableRow(const Element&, NonnullRefPtr<StyleProperties>);
- virtual ~LayoutTableRow() override;
- virtual void layout() override;
- LayoutTableCell* first_cell();
- const LayoutTableCell* first_cell() const;
- LayoutTableRow* next_row();
- const LayoutTableRow* next_row() const;
- private:
- virtual bool is_table_row() const override { return true; }
- virtual const char* class_name() const override { return "LayoutTableRow"; }
- };
- template<>
- inline bool is<LayoutTableRow>(const LayoutNode& node)
- {
- return node.is_table_row();
- }
|