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

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
parent 72ba072768
commit c9f4759329

View file

@ -207,7 +207,7 @@ void InlineFormattingContext::generate_line_boxes(LayoutMode layout_mode)
item.border_start + item.padding_start, item.border_start + item.padding_start,
item.padding_end + item.border_end, item.padding_end + item.border_end,
item.width, item.width,
text_node.font().glyph_height()); text_node.computed_values().font_size());
break; break;
} }
} }