Changed Reflow() to make sure we remove the reflow command for

incremental reflow commands passing through us
This commit is contained in:
troy%netscape.com 1999-01-22 23:08:42 +00:00
Родитель 28791b98c1
Коммит f98779d1c4
2 изменённых файлов: 10 добавлений и 4 удалений

Просмотреть файл

@ -456,11 +456,14 @@ nsAreaFrame::Reflow(nsIPresContext& aPresContext,
// See if it's one of our absolutely positioned child frames
if (mAbsoluteFrames.ContainsFrame(nextFrame)) {
// Remove the next frame from the reflow path
aReflowState.reflowCommand->GetNext(nextFrame, PR_TRUE);
nsReflowStatus kidStatus;
rv = ReflowAbsoluteFrame(aPresContext, aReflowState, nextFrame,
PR_FALSE, kidStatus);
// XXX Make sure the frame is repainted. For the time being since we
// have no idea what changed repaint it all...
// XXX Make sure the frame is repainted. For the time being, since we
// have no idea what actually changed repaint it all...
nsIView* view;
nextFrame->GetView(view);
if (nsnull != view) {

Просмотреть файл

@ -456,11 +456,14 @@ nsAreaFrame::Reflow(nsIPresContext& aPresContext,
// See if it's one of our absolutely positioned child frames
if (mAbsoluteFrames.ContainsFrame(nextFrame)) {
// Remove the next frame from the reflow path
aReflowState.reflowCommand->GetNext(nextFrame, PR_TRUE);
nsReflowStatus kidStatus;
rv = ReflowAbsoluteFrame(aPresContext, aReflowState, nextFrame,
PR_FALSE, kidStatus);
// XXX Make sure the frame is repainted. For the time being since we
// have no idea what changed repaint it all...
// XXX Make sure the frame is repainted. For the time being, since we
// have no idea what actually changed repaint it all...
nsIView* view;
nextFrame->GetView(view);
if (nsnull != view) {