mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1063471
: finish off converting nsBlockReflowContext to logical coordinates (comment-only change), r=jfkthame
This commit is contained in:
parent
3a4db49e46
commit
fb79ba7c59
@ -354,7 +354,7 @@ nsBlockReflowContext::PlaceBlock(const nsHTMLReflowState& aReflowState,
|
||||
aBEndMarginResult.Include(aReflowState.ComputedLogicalMargin().
|
||||
ConvertTo(parentWM, wm).BEnd(parentWM));
|
||||
} else {
|
||||
// The used bottom-margin is set to zero above a break.
|
||||
// The used block-end-margin is set to zero before a break.
|
||||
aBEndMarginResult.Zero();
|
||||
}
|
||||
|
||||
@ -406,7 +406,7 @@ nsBlockReflowContext::PlaceBlock(const nsHTMLReflowState& aReflowState,
|
||||
// See if the frame fit. If it's the first frame or empty then it
|
||||
// always fits. If the block-size is unconstrained then it always fits,
|
||||
// even if there's some sort of integer overflow that makes bCoord +
|
||||
// mMetrics.BSize() appear to go beyond the available height.
|
||||
// mMetrics.BSize() appear to go beyond the available block size.
|
||||
if (!empty && !aForceFit &&
|
||||
mSpace.BSize(mWritingMode) != NS_UNCONSTRAINEDSIZE) {
|
||||
nscoord bEnd = mBCoord -
|
||||
|
Loading…
Reference in New Issue
Block a user