diff --git a/Userland/Libraries/LibWeb/Layout/InlineFormattingContext.cpp b/Userland/Libraries/LibWeb/Layout/InlineFormattingContext.cpp index 80341474a9..69922f368e 100644 --- a/Userland/Libraries/LibWeb/Layout/InlineFormattingContext.cpp +++ b/Userland/Libraries/LibWeb/Layout/InlineFormattingContext.cpp @@ -207,7 +207,7 @@ void InlineFormattingContext::generate_line_boxes(LayoutMode layout_mode) item.border_start + item.padding_start, item.padding_end + item.border_end, item.width, - text_node.font().glyph_height()); + text_node.computed_values().font_size()); break; } }