mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Fix the line-height error in a multi-line page
This commit is contained in:
parent
672d7f1c31
commit
8cd9a6ba87
1 changed files with 1 additions and 1 deletions
|
@ -863,7 +863,7 @@ impl InlineFlowData {
|
|||
base.position.origin.y = base.position.origin.y + adjust_offset;
|
||||
}
|
||||
}
|
||||
line_height_offset = topmost + bottommost - line.bounds.size.height;
|
||||
line_height_offset = line_height_offset + topmost + bottommost - line.bounds.size.height;
|
||||
line.bounds.size.height = topmost + bottommost;
|
||||
} // End of `lines.each` loop.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue