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:
parent
72ba072768
commit
c9f4759329
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue