mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Add trace logs when assigning inline/block sizes
This commit is contained in:
parent
a80b962f56
commit
b978f83e52
7 changed files with 68 additions and 8 deletions
|
@ -371,6 +371,7 @@ impl Flow for TableWrapperFlow {
|
|||
"table_wrapper"
|
||||
}
|
||||
);
|
||||
trace!("TableWrapperFlow before assigning: {:?}", &self);
|
||||
|
||||
let shared_context = layout_context.shared_context();
|
||||
self.block_flow
|
||||
|
@ -454,16 +455,22 @@ impl Flow for TableWrapperFlow {
|
|||
)
|
||||
},
|
||||
}
|
||||
|
||||
trace!("TableWrapperFlow after assigning: {:?}", &self);
|
||||
}
|
||||
|
||||
fn assign_block_size(&mut self, layout_context: &LayoutContext) {
|
||||
debug!("assign_block_size: assigning block_size for table_wrapper");
|
||||
trace!("TableWrapperFlow before assigning: {:?}", &self);
|
||||
|
||||
let remaining = self.block_flow.assign_block_size_block_base(
|
||||
layout_context,
|
||||
None,
|
||||
MarginsMayCollapseFlag::MarginsMayNotCollapse,
|
||||
);
|
||||
debug_assert!(remaining.is_none());
|
||||
|
||||
trace!("TableWrapperFlow after assigning: {:?}", &self);
|
||||
}
|
||||
|
||||
fn compute_stacking_relative_position(&mut self, layout_context: &LayoutContext) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue