mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 09:36:08 +00:00
LibWeb: Use CSS font-size when computing text fragment content height
This commit is contained in:
parent
72ba072768
commit
c9f4759329
Notes:
sideshowbarker
2024-07-17 18:15:40 +09:00
Author: https://github.com/awesomekling
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