mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Implement position: absolute
for replaced elements.
Add reftests for replaced and nested absolute flows.
This commit is contained in:
parent
4a6077ca4c
commit
070be51910
9 changed files with 402 additions and 43 deletions
|
@ -698,7 +698,7 @@ impl Flow for InlineFlow {
|
|||
debug!("assign_height_inline: floats in: {:?}", self.base.floats);
|
||||
// assign height for inline boxes
|
||||
for box_ in self.boxes.iter() {
|
||||
box_.assign_height();
|
||||
box_.assign_replaced_height_if_necessary();
|
||||
}
|
||||
let scanner_floats = self.base.floats.clone();
|
||||
let mut scanner = LineboxScanner::new(scanner_floats);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue