mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Auto merge of #25847 - ferjm:issue.25709, r=SimonSapin
Properly position atomic inline level boxes - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #25709
This commit is contained in:
commit
756cf66cd2
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