Bug 1063471: finish off converting nsBlockReflowContext to logical coordinates (comment-only change), r=jfkthame

This commit is contained in:
Simon Montagu 2015-01-08 02:10:24 -08:00
parent 3a4db49e46
commit fb79ba7c59

View File

@ -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 -