mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Float children are now positioned relative to the float's box.
This commit is contained in:
parent
94d83f96f1
commit
82765c2f6b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue