mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Rename AbsolutelyPositionedBox::layout to AbsolutelyPositionedBox::to_hoisted
This method doesn't actually do any layout, but converts this block to a HoistedAbsolutelyPositionedBox which is hoisted and then laid-out with its containing block later. This makes the code a little easier to read.
This commit is contained in:
parent
756cf66cd2
commit
c20c468814
3 changed files with 3 additions and 3 deletions
|
@ -255,7 +255,7 @@ impl InlineFormattingContext {
|
|||
},
|
||||
};
|
||||
ifc.positioning_context
|
||||
.push(box_.layout(initial_start_corner, tree_rank));
|
||||
.push(box_.to_hoisted(initial_start_corner, tree_rank));
|
||||
},
|
||||
InlineLevelBox::OutOfFlowFloatBox(_box_) => {
|
||||
// TODO
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue