Comment why resize reflow optimization is broken.

git-svn-id: svn://10.0.0.236/trunk@165796 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dbaron%dbaron.org 2004-11-26 02:31:58 +00:00
parent 474bdee350
commit c3a4ca29a1
2 changed files with 2 additions and 0 deletions

View File

@ -1828,6 +1828,7 @@ nsBlockFrame::PrepareResizeReflow(nsBlockReflowState& aState)
// We let child blocks make their own decisions the same
// way we are here.
if (line->IsBlock() ||
// XXXldb We need HasPercentageDescendant, not HasPercentageChild!!!
line->HasPercentageChild() ||
line->HasFloats() ||
(line != mLines.back() && !line->HasBreakAfter()) ||

View File

@ -1828,6 +1828,7 @@ nsBlockFrame::PrepareResizeReflow(nsBlockReflowState& aState)
// We let child blocks make their own decisions the same
// way we are here.
if (line->IsBlock() ||
// XXXldb We need HasPercentageDescendant, not HasPercentageChild!!!
line->HasPercentageChild() ||
line->HasFloats() ||
(line != mLines.back() && !line->HasBreakAfter()) ||