diff --git a/Libraries/LibWeb/CSS/StyleProperties.cpp b/Libraries/LibWeb/CSS/StyleProperties.cpp index 552e58d699..c4b307803e 100644 --- a/Libraries/LibWeb/CSS/StyleProperties.cpp +++ b/Libraries/LibWeb/CSS/StyleProperties.cpp @@ -176,7 +176,7 @@ float StyleProperties::line_height() const { auto line_height_length = length_or_fallback(CSS::PropertyID::LineHeight, {}); if (line_height_length.is_absolute()) - return (float)font().glyph_height() * line_height_length.to_px(); + return (float)line_height_length.to_px(); return (float)font().glyph_height() * 1.4f; }