mirror of
https://github.com/servo/servo.git
synced 2025-06-16 12:24:29 +00:00
parent
c022262826
commit
261711d51a
2 changed files with 2 additions and 2 deletions
|
@ -1352,7 +1352,7 @@ impl<'a> PostorderNodeMutTraversal for FlowConstructor<'a> {
|
|||
}
|
||||
};
|
||||
|
||||
debug!("building flow for node: {:?} {:?} {:?}", display, float, node.type_id());
|
||||
debug!("building flow for node: {:?} {:?} {:?} {:?}", display, float, positioning, node.type_id());
|
||||
|
||||
// Switch on display and floatedness.
|
||||
match (display, float, positioning) {
|
||||
|
|
|
@ -1802,7 +1802,7 @@ impl Fragment {
|
|||
block_size_above_baseline: computed_block_size +
|
||||
self.border_padding.block_start_end(),
|
||||
depth_below_baseline: Au(0),
|
||||
ascent: computed_block_size + self.border_padding.block_end,
|
||||
ascent: computed_block_size + self.border_padding.block_start_end(),
|
||||
}
|
||||
}
|
||||
SpecificFragmentInfo::ScannedText(ref text_fragment) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue