mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Bug 1105828 patch 2: Don't set UNCONSTRAINEDSIZE in an availSpace that we aren't going to use, r=jfkthame
This commit is contained in:
parent
a4a112e2b6
commit
94926c7600
@ -3118,7 +3118,6 @@ nsBlockFrame::ReflowBlockFrame(nsBlockReflowState& aState,
|
||||
// margin seems like a waste. And we do this for almost every block!
|
||||
WritingMode wm = frame->GetWritingMode();
|
||||
LogicalSize availSpace = aState.ContentSize(wm);
|
||||
availSpace.BSize(wm) = NS_UNCONSTRAINEDSIZE;
|
||||
nsHTMLReflowState reflowState(aState.mPresContext, aState.mReflowState,
|
||||
frame, availSpace);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user