Removed code from PrepareChildIncrementalReflow() that was marking all lines

dirty if max-element-size was requested.
This commit is contained in:
troy%netscape.com 1999-12-08 02:05:51 +00:00
Родитель ede359f291
Коммит 63a9d6b36f
6 изменённых файлов: 0 добавлений и 72 удалений

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

@ -1994,18 +1994,6 @@ nsBlockFrame::PrepareInitialReflow(nsBlockReflowState& aState)
nsresult
nsBlockFrame::PrepareChildIncrementalReflow(nsBlockReflowState& aState)
{
// If by chance we are inside a table, then give up and reflow
// everything because we don't cache max-element-size information in
// the lines.
// XXX Huh, that's not true anymore. We do cache the width component of
// the max-element-size...
if (aState.mComputeMaxElementSize) {
#ifdef DEBUG_troy
printf("BLOCK: marking all child frames dirty...\n");
#endif
return PrepareResizeReflow(aState);
}
// Determine the line being impacted
PRBool isFloater;
nsLineBox* prevLine;

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

@ -1994,18 +1994,6 @@ nsBlockFrame::PrepareInitialReflow(nsBlockReflowState& aState)
nsresult
nsBlockFrame::PrepareChildIncrementalReflow(nsBlockReflowState& aState)
{
// If by chance we are inside a table, then give up and reflow
// everything because we don't cache max-element-size information in
// the lines.
// XXX Huh, that's not true anymore. We do cache the width component of
// the max-element-size...
if (aState.mComputeMaxElementSize) {
#ifdef DEBUG_troy
printf("BLOCK: marking all child frames dirty...\n");
#endif
return PrepareResizeReflow(aState);
}
// Determine the line being impacted
PRBool isFloater;
nsLineBox* prevLine;

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

@ -1994,18 +1994,6 @@ nsBlockFrame::PrepareInitialReflow(nsBlockReflowState& aState)
nsresult
nsBlockFrame::PrepareChildIncrementalReflow(nsBlockReflowState& aState)
{
// If by chance we are inside a table, then give up and reflow
// everything because we don't cache max-element-size information in
// the lines.
// XXX Huh, that's not true anymore. We do cache the width component of
// the max-element-size...
if (aState.mComputeMaxElementSize) {
#ifdef DEBUG_troy
printf("BLOCK: marking all child frames dirty...\n");
#endif
return PrepareResizeReflow(aState);
}
// Determine the line being impacted
PRBool isFloater;
nsLineBox* prevLine;

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

@ -1994,18 +1994,6 @@ nsBlockFrame::PrepareInitialReflow(nsBlockReflowState& aState)
nsresult
nsBlockFrame::PrepareChildIncrementalReflow(nsBlockReflowState& aState)
{
// If by chance we are inside a table, then give up and reflow
// everything because we don't cache max-element-size information in
// the lines.
// XXX Huh, that's not true anymore. We do cache the width component of
// the max-element-size...
if (aState.mComputeMaxElementSize) {
#ifdef DEBUG_troy
printf("BLOCK: marking all child frames dirty...\n");
#endif
return PrepareResizeReflow(aState);
}
// Determine the line being impacted
PRBool isFloater;
nsLineBox* prevLine;

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

@ -1994,18 +1994,6 @@ nsBlockFrame::PrepareInitialReflow(nsBlockReflowState& aState)
nsresult
nsBlockFrame::PrepareChildIncrementalReflow(nsBlockReflowState& aState)
{
// If by chance we are inside a table, then give up and reflow
// everything because we don't cache max-element-size information in
// the lines.
// XXX Huh, that's not true anymore. We do cache the width component of
// the max-element-size...
if (aState.mComputeMaxElementSize) {
#ifdef DEBUG_troy
printf("BLOCK: marking all child frames dirty...\n");
#endif
return PrepareResizeReflow(aState);
}
// Determine the line being impacted
PRBool isFloater;
nsLineBox* prevLine;

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

@ -1994,18 +1994,6 @@ nsBlockFrame::PrepareInitialReflow(nsBlockReflowState& aState)
nsresult
nsBlockFrame::PrepareChildIncrementalReflow(nsBlockReflowState& aState)
{
// If by chance we are inside a table, then give up and reflow
// everything because we don't cache max-element-size information in
// the lines.
// XXX Huh, that's not true anymore. We do cache the width component of
// the max-element-size...
if (aState.mComputeMaxElementSize) {
#ifdef DEBUG_troy
printf("BLOCK: marking all child frames dirty...\n");
#endif
return PrepareResizeReflow(aState);
}
// Determine the line being impacted
PRBool isFloater;
nsLineBox* prevLine;