ReResolveStyleContext needs to deal with :before/:after pseudos correctly. Bug

126072, r=dbaron, sr=roc+moz.  Also fixes bug 141259 (incorrect warnings about
style tree integrity).


git-svn-id: svn://10.0.0.236/trunk@135852 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2003-01-05 05:05:17 +00:00
parent ddf6bf65b0
commit 8d092fcca8
20 changed files with 839 additions and 212 deletions

View File

@@ -717,6 +717,13 @@ nsMathMLFrame::MapAttributesIntoCSS(nsIPresContext* aPresContext,
fm->ComputeStyleChangeFor(aPresContext, aFrame,
kNameSpaceID_None, nsnull,
changeList, minChange, maxChange);
#ifdef DEBUG
// Use the parent frame to make sure we catch in-flows and such
nsIFrame* parentFrame;
aFrame->GetParent(&parentFrame);
fm->DebugVerifyStyleTree(aPresContext,
parentFrame ? parentFrame : aFrame);
#endif
}
}