mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Disable incremental reflow for multicol and their descendants.
Fragmentation with dynamic updates is hard.
This commit is contained in:
parent
357463864b
commit
da2b4ab381
6 changed files with 41 additions and 1 deletions
|
@ -700,6 +700,11 @@ pub trait MatchMethods<'ln> : TNode<'ln> {
|
|||
// This method needs to borrow the data as mutable, so make sure data_ref goes out of
|
||||
// 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()
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue