Float children are now positioned relative to the float's box.

This commit is contained in:
Jack Moffitt 2013-07-22 10:45:19 -06:00
parent 94d83f96f1
commit 82765c2f6b

View file

@ -253,7 +253,7 @@ impl FloatFlowData {
let flow = FloatFlow(self);
for flow.each_child |child| {
do child.with_mut_base |base| {
base.abs_position = offset;
base.abs_position = offset + base.position.origin;
}
}