Work in progress

git-svn-id: svn://10.0.0.236/trunk@1242 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy 1998-05-07 21:10:07 +00:00
parent ff4907675c
commit 4a9b848ec2
6 changed files with 96 additions and 6 deletions

View File

@ -1249,7 +1249,22 @@ nsBlockFrame::IncrementalReflow(nsIPresContext* aPresContext,
} else {
NS_NOTYETIMPLEMENTED("unexpected reflow command");
}
} else {
} else {
#if 0
// The command is passing through us. Get the next frame in the reflow chain
nsIFrame* nextFrame = aReflowCommand.GetNext();
// Restore our state as if nextFrame is the next frame to reflow
RecoverState(aPresContext, state, nextFrame);
// Get the current bounds. We'll need this to adjust the frames that follow
nsRect oldBounds;
nextFrame->GetRect(oldBounds);
// Pass along the reflow command
nsRect desiredRect;
aStatus = aReflowCommand.Next(aSpaceManager, desiredRect, aMaxSize, nextFrame);
#endif
NS_NOTYETIMPLEMENTED("unexpected reflow command");
}

View File

@ -1249,7 +1249,22 @@ nsBlockFrame::IncrementalReflow(nsIPresContext* aPresContext,
} else {
NS_NOTYETIMPLEMENTED("unexpected reflow command");
}
} else {
} else {
#if 0
// The command is passing through us. Get the next frame in the reflow chain
nsIFrame* nextFrame = aReflowCommand.GetNext();
// Restore our state as if nextFrame is the next frame to reflow
RecoverState(aPresContext, state, nextFrame);
// Get the current bounds. We'll need this to adjust the frames that follow
nsRect oldBounds;
nextFrame->GetRect(oldBounds);
// Pass along the reflow command
nsRect desiredRect;
aStatus = aReflowCommand.Next(aSpaceManager, desiredRect, aMaxSize, nextFrame);
#endif
NS_NOTYETIMPLEMENTED("unexpected reflow command");
}

View File

@ -1249,7 +1249,22 @@ nsBlockFrame::IncrementalReflow(nsIPresContext* aPresContext,
} else {
NS_NOTYETIMPLEMENTED("unexpected reflow command");
}
} else {
} else {
#if 0
// The command is passing through us. Get the next frame in the reflow chain
nsIFrame* nextFrame = aReflowCommand.GetNext();
// Restore our state as if nextFrame is the next frame to reflow
RecoverState(aPresContext, state, nextFrame);
// Get the current bounds. We'll need this to adjust the frames that follow
nsRect oldBounds;
nextFrame->GetRect(oldBounds);
// Pass along the reflow command
nsRect desiredRect;
aStatus = aReflowCommand.Next(aSpaceManager, desiredRect, aMaxSize, nextFrame);
#endif
NS_NOTYETIMPLEMENTED("unexpected reflow command");
}

View File

@ -1249,7 +1249,22 @@ nsBlockFrame::IncrementalReflow(nsIPresContext* aPresContext,
} else {
NS_NOTYETIMPLEMENTED("unexpected reflow command");
}
} else {
} else {
#if 0
// The command is passing through us. Get the next frame in the reflow chain
nsIFrame* nextFrame = aReflowCommand.GetNext();
// Restore our state as if nextFrame is the next frame to reflow
RecoverState(aPresContext, state, nextFrame);
// Get the current bounds. We'll need this to adjust the frames that follow
nsRect oldBounds;
nextFrame->GetRect(oldBounds);
// Pass along the reflow command
nsRect desiredRect;
aStatus = aReflowCommand.Next(aSpaceManager, desiredRect, aMaxSize, nextFrame);
#endif
NS_NOTYETIMPLEMENTED("unexpected reflow command");
}

View File

@ -1249,7 +1249,22 @@ nsBlockFrame::IncrementalReflow(nsIPresContext* aPresContext,
} else {
NS_NOTYETIMPLEMENTED("unexpected reflow command");
}
} else {
} else {
#if 0
// The command is passing through us. Get the next frame in the reflow chain
nsIFrame* nextFrame = aReflowCommand.GetNext();
// Restore our state as if nextFrame is the next frame to reflow
RecoverState(aPresContext, state, nextFrame);
// Get the current bounds. We'll need this to adjust the frames that follow
nsRect oldBounds;
nextFrame->GetRect(oldBounds);
// Pass along the reflow command
nsRect desiredRect;
aStatus = aReflowCommand.Next(aSpaceManager, desiredRect, aMaxSize, nextFrame);
#endif
NS_NOTYETIMPLEMENTED("unexpected reflow command");
}

View File

@ -1249,7 +1249,22 @@ nsBlockFrame::IncrementalReflow(nsIPresContext* aPresContext,
} else {
NS_NOTYETIMPLEMENTED("unexpected reflow command");
}
} else {
} else {
#if 0
// The command is passing through us. Get the next frame in the reflow chain
nsIFrame* nextFrame = aReflowCommand.GetNext();
// Restore our state as if nextFrame is the next frame to reflow
RecoverState(aPresContext, state, nextFrame);
// Get the current bounds. We'll need this to adjust the frames that follow
nsRect oldBounds;
nextFrame->GetRect(oldBounds);
// Pass along the reflow command
nsRect desiredRect;
aStatus = aReflowCommand.Next(aSpaceManager, desiredRect, aMaxSize, nextFrame);
#endif
NS_NOTYETIMPLEMENTED("unexpected reflow command");
}