mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
LibWeb: Add type getter to CSS::Size
This commit is contained in:
parent
9ee9be720c
commit
d9b66b22a6
|
|
@ -45,6 +45,7 @@ public:
|
|||
bool is_max_content() const { return m_type == Type::MaxContent; }
|
||||
bool is_fit_content() const { return m_type == Type::FitContent; }
|
||||
bool is_none() const { return m_type == Type::None; }
|
||||
Type type() const { return m_type; }
|
||||
|
||||
bool is_length_percentage() const { return is_length() || is_percentage() || is_calculated(); }
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user