mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
add assign_height in box_
This commit is contained in:
parent
ef122f8fbf
commit
5ce3bae160
2 changed files with 88 additions and 54 deletions
|
@ -676,6 +676,10 @@ impl Flow for InlineFlow {
|
|||
// TODO(pcwalton): Cache the linebox scanner?
|
||||
debug!("assign_height_inline: floats_in: {:?}", self.base.floats_in);
|
||||
|
||||
// assign height for inline boxes
|
||||
for box_ in self.boxes.iter() {
|
||||
box_.assign_height();
|
||||
}
|
||||
let scanner_floats = self.base.floats_in.clone();
|
||||
let mut scanner = LineboxScanner::new(scanner_floats);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue