mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Fixed the inline_element_border_a reftest with incremental layout turned on.
This commit is contained in:
parent
2faf5b270f
commit
8496c056e7
6 changed files with 60 additions and 89 deletions
|
@ -299,10 +299,6 @@ pub trait Flow: fmt::Show + ToString + Sync {
|
|||
LayerId(pointer, fragment_id)
|
||||
}
|
||||
}
|
||||
|
||||
fn debug_print(&self) -> String {
|
||||
format!("{} - {:x}", self.class(), base(self).debug_id())
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a, E, S: Encoder<E>> Encodable<S, E> for &'a Flow + 'a {
|
||||
|
@ -1025,7 +1021,9 @@ impl<'a> ImmutableFlowUtils for &'a Flow + 'a {
|
|||
for _ in range(0, level) {
|
||||
indent.push_str("| ")
|
||||
}
|
||||
debug!("{}+ {}", indent, self.debug_print());
|
||||
|
||||
error!("{}+ {}", indent, self.to_string());
|
||||
|
||||
for kid in imm_child_iter(self) {
|
||||
kid.dump_with_level(level + 1)
|
||||
}
|
||||
|
@ -1222,7 +1220,6 @@ impl<'a> MutableFlowUtils for &'a mut Flow + 'a {
|
|||
doit(self, RestyleDamage::empty(), &mut DirtyFloats { left: false, right: false });
|
||||
}
|
||||
|
||||
|
||||
fn nonincremental_reset(self) {
|
||||
fn reset_flow(flow: &mut Flow) {
|
||||
let base = mut_base(flow);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue