1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 17:18:11 +00:00

LibWeb: Add type casting helpers for Layout::InlineNode

This commit is contained in:
Andreas Kling 2020-12-03 19:14:41 +01:00
parent 17e9a5e0c5
commit d6c2a61fa1
2 changed files with 8 additions and 0 deletions

View file

@ -101,6 +101,7 @@ public:
virtual bool is_check_box() const { return false; }
virtual bool is_button() const { return false; }
virtual bool is_list_item() const { return false; }
virtual bool is_inline_node() const { return false; }
bool has_style() const { return m_has_style; }
virtual bool can_have_children() const { return true; }