diff --git a/Libraries/LibWeb/CSS/StyleComputer.cpp b/Libraries/LibWeb/CSS/StyleComputer.cpp index b19bf1e7204..8675d01d9b9 100644 --- a/Libraries/LibWeb/CSS/StyleComputer.cpp +++ b/Libraries/LibWeb/CSS/StyleComputer.cpp @@ -2013,7 +2013,7 @@ RefPtr StyleComputer::compute_font_for_style_values( font_list->add(*emoji_font); } - auto found_font = ComputedProperties::font_fallback(monospace, bold, 12); + auto found_font = ComputedProperties::font_fallback(monospace, bold, font_size_in_pt); font_list->set_last_resort_font(found_font->with_size(font_size_in_pt)); return font_list;