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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user