Implement position: absolute for replaced elements.

Add reftests for replaced and nested absolute flows.
This commit is contained in:
S Pradeep Kumar 2014-02-18 15:33:25 +09:00
parent 4a6077ca4c
commit 070be51910
9 changed files with 402 additions and 43 deletions

View file

@ -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);