mirror of
https://github.com/servo/servo.git
synced 2025-08-13 01:15:34 +01:00
Use the correct container size in compute_overflow
Fixes #7768 - positioning of RTL stacking contexts.
This commit is contained in:
parent
7933b48430
commit
441cc479a3
6 changed files with 61 additions and 8 deletions
|
@ -1775,7 +1775,8 @@ impl Flow for InlineFlow {
|
|||
let mut overflow = ZERO_RECT;
|
||||
for fragment in &self.fragments.fragments {
|
||||
overflow = overflow.union(&fragment.compute_overflow(
|
||||
&self.base.early_absolute_position_info.relative_containing_block_size))
|
||||
&self.base.early_absolute_position_info.relative_containing_block_size,
|
||||
self.base.early_absolute_position_info.relative_containing_block_mode));
|
||||
}
|
||||
overflow
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue