mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Sequentialize assign_block_size for flows that can be fragmented.
Fragmentation will be intertwined with block size calculation.
This commit is contained in:
parent
da2b4ab381
commit
9abbd1b5d1
9 changed files with 61 additions and 24 deletions
|
@ -701,10 +701,10 @@ pub trait MatchMethods<'ln> : TNode<'ln> {
|
|||
// scope first.
|
||||
self.set_restyle_damage(damage);
|
||||
|
||||
self.set_in_fragmentation_container(
|
||||
parent.as_ref().map_or(false, |p| p.in_fragmentation_container()) ||
|
||||
self.borrow_data().unwrap().style.as_ref().unwrap().is_multicol()
|
||||
);
|
||||
self.set_can_be_fragmented(parent.map_or(false, |p| {
|
||||
p.can_be_fragmented() ||
|
||||
parent_style.as_ref().unwrap().is_multicol()
|
||||
}));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue