1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 16:15:10 +00:00

LibHTML: Add is<T> helpers for the table-related LayoutNode subclasses

This commit is contained in:
Andreas Kling 2019-10-17 23:34:12 +02:00
parent 5e29238a49
commit b4c2621ed7
4 changed files with 24 additions and 0 deletions

View file

@ -50,6 +50,9 @@ public:
virtual bool is_block() const { return false; }
virtual bool is_replaced() const { return false; }
virtual bool is_box() const { return false; }
virtual bool is_table() const { return false; }
virtual bool is_table_row() const { return false; }
virtual bool is_table_cell() const { return false; }
bool has_style() const { return m_has_style; }
bool is_inline() const { return m_inline; }