Added an nsIPresContext& to html-reflow-state's ctors and used it to implement better percentage width/height handling

git-svn-id: svn://10.0.0.236/trunk@12575 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp%netscape.com
1998-10-12 14:48:02 +00:00
parent 8e2e7cc31d
commit 3af8f78a16
52 changed files with 871 additions and 336 deletions

View File

@@ -156,7 +156,8 @@ NS_IMETHODIMP nsHTMLReflowCommand::Dispatch(nsIPresContext& aPresContext,
if (nsnull != root) {
mPath.RemoveElementAt(mPath.Count() - 1);
nsHTMLReflowState reflowState(root, *this, aMaxSize, &aRendContext);
nsHTMLReflowState reflowState(aPresContext, root, *this, aMaxSize,
&aRendContext);
nsIHTMLReflow* htmlReflow;
nsReflowStatus status;