mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Remove unneeded clones and add some comments.
This commit is contained in:
parent
26cf00ef4e
commit
71758643dc
4 changed files with 10 additions and 3 deletions
|
@ -917,6 +917,9 @@ impl InlineFlow {
|
|||
let mut block_size_above_baseline = inline_metrics.block_size_above_baseline;
|
||||
let mut depth_below_baseline = inline_metrics.depth_below_baseline;
|
||||
|
||||
// CSS section 10.8
|
||||
// line-height of any inline element specifies the minimal height of line
|
||||
// boxes within the element.
|
||||
for frag in self.fragments.fragments.iter() {
|
||||
match frag.inline_context {
|
||||
Some(ref inline_context) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue