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:
parent
474bdee350
commit
c3a4ca29a1
@ -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()) ||
|
||||
|
||||
@ -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()) ||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user