mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Properly position atomic inline level boxes
This commit is contained in:
parent
412eccddcc
commit
48a4c07246
163 changed files with 19 additions and 319 deletions
|
@ -567,7 +567,10 @@ fn layout_atomic<'box_tree>(
|
|||
},
|
||||
};
|
||||
|
||||
ifc.inline_position += pbm.inline_end;
|
||||
ifc.inline_position += pbm.inline_end + fragment.content_rect.size.inline;
|
||||
ifc.current_nesting_level
|
||||
.max_block_size_of_fragments_so_far
|
||||
.max_assign(pbm.block_sum() + fragment.content_rect.size.block);
|
||||
ifc.current_nesting_level
|
||||
.fragments_so_far
|
||||
.push(Fragment::Box(fragment));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue