LibWeb: Add Layout::Node::display()

This will return something sensible for style-less nodes as well.
This commit is contained in:
Andreas Kling 2022-10-06 15:33:09 +02:00
commit 49eb324535
Notes: sideshowbarker 2024-07-17 23:07:41 +09:00
2 changed files with 12 additions and 0 deletions

View file

@ -68,6 +68,8 @@ public:
virtual bool can_have_children() const { return true; }
CSS::Display display() const;
bool is_inline() const;
bool is_inline_block() const;