b=24343 r=karnaze@netscape.com Changes so we properly lay out after changing

the font using the pref UI. Block and table code changed to handle
eReflowReason_StyleChange


git-svn-id: svn://10.0.0.236/trunk@63049 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy%netscape.com
2000-03-15 15:16:03 +00:00
parent 6152869f27
commit 00091b65e3
12 changed files with 50 additions and 10 deletions

View File

@@ -1649,9 +1649,8 @@ PresShell::StyleChangeReflow()
nsresult rv=CreateRenderingContext(rootFrame, &rcx);
if (NS_FAILED(rv)) return rv;
// XXX We should be using eReflowReason_StyleChange
nsHTMLReflowState reflowState(mPresContext, rootFrame,
eReflowReason_Resize, rcx, maxSize);
eReflowReason_StyleChange, rcx, maxSize);
nsIView* view;
rootFrame->WillReflow(mPresContext);