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
This commit is contained in:
troy@netscape.com
2000-03-15 15:16:03 +00:00
parent d51099394e
commit eeaae96b5e
12 changed files with 50 additions and 10 deletions
+1 -2
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);