mirror of
https://github.com/servo/servo.git
synced 2025-08-30 09:38:19 +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
|
@ -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 isn’t 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 isn’t 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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue