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

@ -182,6 +182,17 @@ impl<'ln> TNode<'ln> for GeckoNode<'ln> {
unimplemented!()
}
fn in_fragmentation_container(&self) -> bool {
// FIXME(SimonSapin): Servo uses this to implement CSS multicol / fragmentation
// Maybe this isnt useful for Gecko?
false
}
unsafe fn set_in_fragmentation_container(&self, _value: bool) {
// FIXME(SimonSapin): Servo uses this to implement CSS multicol / fragmentation
// Maybe this isnt useful for Gecko?
}
#[inline(always)]
unsafe fn borrow_data_unchecked(&self) -> Option<*const PrivateStyleData> {
self.get_node_data().as_ref().map(|d| d.as_unsafe_cell().get() as *const PrivateStyleData)