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:
dbaron%dbaron.org
2003-03-06 19:07:22 +00:00
parent 99bd076da3
commit 3b86a016bb
28 changed files with 235 additions and 706 deletions

View File

@@ -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;