diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/Length.h')
-rw-r--r-- | Userland/Libraries/LibWeb/CSS/Length.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Length.h b/Userland/Libraries/LibWeb/CSS/Length.h index 16abee4201..be96bc2ea7 100644 --- a/Userland/Libraries/LibWeb/CSS/Length.h +++ b/Userland/Libraries/LibWeb/CSS/Length.h @@ -48,6 +48,7 @@ public: bool is_auto() const { return m_type == Type::Auto; } bool is_calculated() const { return m_type == Type::Calculated; } + bool is_px() const { return m_type == Type::Px; } bool is_absolute() const { |