1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:27:43 +00:00

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
parent 277465e699
commit 49eb324535
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;