mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 513394. Make sure that mPrevChild gets set on nsBlockReflowState. r=dbaron
This commit is contained in:
parent
94314c069c
commit
4c95346537
@ -3088,6 +3088,8 @@ nsBlockFrame::ReflowBlockFrame(nsBlockReflowState& aState,
|
||||
continue;
|
||||
}
|
||||
|
||||
aState.mPrevChild = frame;
|
||||
|
||||
if (blockHtmlRS.WillReflowAgainForClearance()) {
|
||||
// If an ancestor of ours is going to reflow for clearance, we
|
||||
// need to avoid calling PlaceBlock, because it unsets dirty bits
|
||||
@ -3099,8 +3101,6 @@ nsBlockFrame::ReflowBlockFrame(nsBlockReflowState& aState,
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
aState.mPrevChild = frame;
|
||||
|
||||
#if defined(REFLOW_STATUS_COVERAGE)
|
||||
RecordReflowStatus(PR_TRUE, frameReflowStatus);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user