LibWeb: Use CSS font-size when computing text fragment content height

This commit is contained in:
Andreas Kling 2022-02-26 01:10:43 +01:00
commit c9f4759329
Notes: sideshowbarker 2024-07-17 18:15:40 +09:00

View file

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