diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/Display.h')
-rw-r--r-- | Userland/Libraries/LibWeb/CSS/Display.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Display.h b/Userland/Libraries/LibWeb/CSS/Display.h index 41064f674d..ba57ecaffe 100644 --- a/Userland/Libraries/LibWeb/CSS/Display.h +++ b/Userland/Libraries/LibWeb/CSS/Display.h @@ -108,6 +108,7 @@ public: bool is_block_outside() const { return is_outside_and_inside() && outside() == Outside::Block; } bool is_inline_outside() const { return is_outside_and_inside() && outside() == Outside::Inline; } + bool is_inline_block() const { return is_inline_outside() && is_flow_root_inside(); } bool is_list_item() const { return is_outside_and_inside() && m_value.outside_inside.list_item == ListItem::Yes; } Inside inside() const |