diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2022-01-24 17:38:29 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-02-04 13:52:02 +0100 |
commit | db04b5687d4b15c4f51b3e30e386acb95c7221bd (patch) | |
tree | 2ef23711b1c15d098f3d641825c8411884db5db7 /Userland/Libraries/LibWeb/CSS/Length.h | |
parent | ee61739e0af2d778cebd61b07ab0686473625124 (diff) | |
download | serenity-db04b5687d4b15c4f51b3e30e386acb95c7221bd.zip |
LibWeb: Move calc()-resolution code from Length to CalculatedStyleValue
The code is unchanged, just moved.
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/Length.h')
-rw-r--r-- | Userland/Libraries/LibWeb/CSS/Length.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Length.h b/Userland/Libraries/LibWeb/CSS/Length.h index ed7335c6a2..3f999b2f04 100644 --- a/Userland/Libraries/LibWeb/CSS/Length.h +++ b/Userland/Libraries/LibWeb/CSS/Length.h @@ -136,8 +136,6 @@ public: float relative_length_to_px(Gfx::IntRect const& viewport_rect, Gfx::FontMetrics const& font_metrics, float root_font_size) const; private: - float resolve_calculated_value(Layout::Node const& layout_node) const; - const char* unit_name() const; Type m_type { Type::Undefined }; |