mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Bug 55086. Be sure to position child views, too! r=dbaron, sr=attinasi, a=blizzard.
This commit is contained in:
parent
fa95d765b7
commit
07f0145166
@ -526,6 +526,9 @@ nsBlockReflowContext::DoReflowBlock(nsHTMLReflowState &aReflowState,
|
||||
if (view) {
|
||||
nsContainerFrame::PositionFrameView(mPresContext, aFrame, view);
|
||||
}
|
||||
else {
|
||||
nsContainerFrame::PositionChildViews(mPresContext, aFrame);
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
mMetrics.width = nscoord(0xdeadbeef);
|
||||
|
@ -526,6 +526,9 @@ nsBlockReflowContext::DoReflowBlock(nsHTMLReflowState &aReflowState,
|
||||
if (view) {
|
||||
nsContainerFrame::PositionFrameView(mPresContext, aFrame, view);
|
||||
}
|
||||
else {
|
||||
nsContainerFrame::PositionChildViews(mPresContext, aFrame);
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
mMetrics.width = nscoord(0xdeadbeef);
|
||||
|
Loading…
Reference in New Issue
Block a user