mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 00:32:11 +00:00
Bug 1323517 Part 4 - Pass a dummy rect into ReflowBlock() when reflowing a float. r=jfkthame
This is a preparation for the next part. Differential Revision: https://phabricator.services.mozilla.com/D151206
This commit is contained in:
parent
9727d0b740
commit
70e03e7368
@ -6693,7 +6693,10 @@ void nsBlockFrame::ReflowFloat(BlockReflowState& aState,
|
||||
}
|
||||
}
|
||||
|
||||
brc.ReflowBlock(aAdjustedAvailableSpace, true, margin, 0, nullptr, floatRS,
|
||||
// When reflowing a float, aSpace argument doesn't matter because we pass
|
||||
// nullptr to aLine and we don't call nsBlockReflowContext::PlaceBlock()
|
||||
// later.
|
||||
brc.ReflowBlock(LogicalRect(wm), true, margin, 0, nullptr, floatRS,
|
||||
aReflowStatus, aState);
|
||||
} while (clearanceFrame);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user