Fix typo that was causing some blocks within tables (and also some resize cases without tables) to be too wide. b=77920 r=waterson sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@95461 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1699,7 +1699,7 @@ nsBlockFrame::PrepareResizeReflow(nsBlockReflowState& aState)
|
||||
newAvailWidth += aState.mReflowState.availableWidth;
|
||||
}
|
||||
} else {
|
||||
if (NS_UNCONSTRAINEDSIZE != aState.mReflowState.mComputedMaxWidth) {
|
||||
if (NS_UNCONSTRAINEDSIZE != aState.mReflowState.mComputedWidth) {
|
||||
newAvailWidth += aState.mReflowState.mComputedWidth;
|
||||
}
|
||||
else {
|
||||
|
||||
@@ -1699,7 +1699,7 @@ nsBlockFrame::PrepareResizeReflow(nsBlockReflowState& aState)
|
||||
newAvailWidth += aState.mReflowState.availableWidth;
|
||||
}
|
||||
} else {
|
||||
if (NS_UNCONSTRAINEDSIZE != aState.mReflowState.mComputedMaxWidth) {
|
||||
if (NS_UNCONSTRAINEDSIZE != aState.mReflowState.mComputedWidth) {
|
||||
newAvailWidth += aState.mReflowState.mComputedWidth;
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user