Fixed a problem where mLastContentIsComplete wasn't getting set right
for block-level elements git-svn-id: svn://10.0.0.236/trunk@373 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
6579aae2d9
commit
a7dc1c48ab
@ -1057,6 +1057,10 @@ nsBlockFrame::PlaceAndReflowChild(nsIPresContext* aCX,
|
||||
}
|
||||
|
||||
// Add block child
|
||||
// XXX We need to set lastContentIsComplete here, because AddBlockChild()
|
||||
// calls AdvaneceToNextLine(). We need to restructure the flow of control,
|
||||
// and use a state machine...
|
||||
aState.lastContentIsComplete = PRBool(status == frComplete);
|
||||
AddBlockChild(aCX, aState, kidFrame, kidRect, pKidMaxElementSize, kidMol);
|
||||
}
|
||||
|
||||
|
||||
@ -1057,6 +1057,10 @@ nsBlockFrame::PlaceAndReflowChild(nsIPresContext* aCX,
|
||||
}
|
||||
|
||||
// Add block child
|
||||
// XXX We need to set lastContentIsComplete here, because AddBlockChild()
|
||||
// calls AdvaneceToNextLine(). We need to restructure the flow of control,
|
||||
// and use a state machine...
|
||||
aState.lastContentIsComplete = PRBool(status == frComplete);
|
||||
AddBlockChild(aCX, aState, kidFrame, kidRect, pKidMaxElementSize, kidMol);
|
||||
}
|
||||
|
||||
|
||||
@ -1057,6 +1057,10 @@ nsBlockFrame::PlaceAndReflowChild(nsIPresContext* aCX,
|
||||
}
|
||||
|
||||
// Add block child
|
||||
// XXX We need to set lastContentIsComplete here, because AddBlockChild()
|
||||
// calls AdvaneceToNextLine(). We need to restructure the flow of control,
|
||||
// and use a state machine...
|
||||
aState.lastContentIsComplete = PRBool(status == frComplete);
|
||||
AddBlockChild(aCX, aState, kidFrame, kidRect, pKidMaxElementSize, kidMol);
|
||||
}
|
||||
|
||||
|
||||
@ -1057,6 +1057,10 @@ nsBlockFrame::PlaceAndReflowChild(nsIPresContext* aCX,
|
||||
}
|
||||
|
||||
// Add block child
|
||||
// XXX We need to set lastContentIsComplete here, because AddBlockChild()
|
||||
// calls AdvaneceToNextLine(). We need to restructure the flow of control,
|
||||
// and use a state machine...
|
||||
aState.lastContentIsComplete = PRBool(status == frComplete);
|
||||
AddBlockChild(aCX, aState, kidFrame, kidRect, pKidMaxElementSize, kidMol);
|
||||
}
|
||||
|
||||
|
||||
@ -1057,6 +1057,10 @@ nsBlockFrame::PlaceAndReflowChild(nsIPresContext* aCX,
|
||||
}
|
||||
|
||||
// Add block child
|
||||
// XXX We need to set lastContentIsComplete here, because AddBlockChild()
|
||||
// calls AdvaneceToNextLine(). We need to restructure the flow of control,
|
||||
// and use a state machine...
|
||||
aState.lastContentIsComplete = PRBool(status == frComplete);
|
||||
AddBlockChild(aCX, aState, kidFrame, kidRect, pKidMaxElementSize, kidMol);
|
||||
}
|
||||
|
||||
|
||||
@ -1057,6 +1057,10 @@ nsBlockFrame::PlaceAndReflowChild(nsIPresContext* aCX,
|
||||
}
|
||||
|
||||
// Add block child
|
||||
// XXX We need to set lastContentIsComplete here, because AddBlockChild()
|
||||
// calls AdvaneceToNextLine(). We need to restructure the flow of control,
|
||||
// and use a state machine...
|
||||
aState.lastContentIsComplete = PRBool(status == frComplete);
|
||||
AddBlockChild(aCX, aState, kidFrame, kidRect, pKidMaxElementSize, kidMol);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user