mirror of
https://github.com/servo/servo.git
synced 2025-08-02 12:10:29 +01:00
Allow adjusting box offsets
This commit is contained in:
parent
fc71345114
commit
96c0c50874
2 changed files with 22 additions and 0 deletions
|
@ -352,6 +352,9 @@ impl BlockLevelBox {
|
|||
BlockLevelBox::OutOfFlowAbsolutelyPositionedBox(box_) => {
|
||||
let hoisted_box = AbsolutelyPositionedBox::to_hoisted(
|
||||
box_.clone(),
|
||||
// This is incorrect, however we do not know the
|
||||
// correct positioning until later, in place_block_level_fragment,
|
||||
// and this value will be adjusted there
|
||||
Vec2::zero(),
|
||||
tree_rank,
|
||||
containing_block,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue