Handle inline style changes by creating new style rules to wrap the modified nsCSSDeclarations, thus moving towards style rule immutability and away from property-based change hints. Patch from Boris Zbarsky <bzbarsky@mit.edu>. r=dbaron sr=roc b=171830
git-svn-id: svn://10.0.0.236/trunk@139034 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -5667,7 +5667,7 @@ PresShell::BidiStyleChangeReflow()
|
||||
nsIFrame* rootFrame;
|
||||
mFrameManager->GetRootFrame(&rootFrame);
|
||||
if (rootFrame) {
|
||||
mStyleSet->ClearStyleData(mPresContext, nsnull, nsnull);
|
||||
mStyleSet->ClearStyleData(mPresContext, nsnull);
|
||||
ReconstructFrames();
|
||||
}
|
||||
return NS_OK;
|
||||
|
||||
Reference in New Issue
Block a user