Disable incremental reflow for multicol and their descendants.

Fragmentation with dynamic updates is hard.
This commit is contained in:
Simon Sapin 2015-09-18 15:27:08 +02:00
parent 357463864b
commit da2b4ab381
6 changed files with 41 additions and 1 deletions

View file

@ -129,6 +129,10 @@ pub trait TNode<'ln> : Sized + Copy + Clone {
}
}
fn in_fragmentation_container(&self) -> bool;
unsafe fn set_in_fragmentation_container(&self, value: bool);
/// Borrows the PrivateStyleData without checks.
#[inline(always)]
unsafe fn borrow_data_unchecked(&self) -> Option<*const PrivateStyleData>;