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