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:
troy 1998-04-18 22:06:05 +00:00
parent 6579aae2d9
commit a7dc1c48ab
6 changed files with 24 additions and 0 deletions

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}