Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi

git-svn-id: svn://10.0.0.236/trunk@121265 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
waterson%netscape.com
2002-05-10 18:22:41 +00:00
parent 79bf7a0a29
commit 5bae3657e6
99 changed files with 3075 additions and 2868 deletions

View File

@@ -530,7 +530,9 @@ nsHTMLFrameOuterFrame::Reflow(nsIPresContext* aPresContext,
aDesiredSize.height += border.top + border.bottom;
}
// Reflow the child and get its desired size
// Reflow the child and get its desired size. We'll need to convert
// an incremental reflow to a dirty reflow unless our child is along
// the path.
nsIFrame* firstChild = mFrames.FirstChild();
nsHTMLReflowMetrics kidMetrics(aDesiredSize.maxElementSize);
nsHTMLReflowState kidReflowState(aPresContext, aReflowState, firstChild,