1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:07:35 +00:00

LibWeb: Move calc()-resolution code from Length to CalculatedStyleValue

The code is unchanged, just moved.
This commit is contained in:
Sam Atkins 2022-01-24 17:38:29 +00:00 committed by Andreas Kling
parent ee61739e0a
commit db04b5687d
4 changed files with 115 additions and 120 deletions

View file

@ -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 };