fixed re-resolve style contexts to handle local pseudo elements
and capture style change information git-svn-id: svn://10.0.0.236/trunk@35705 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -589,9 +589,12 @@ nsHTMLButtonControlFrame::ReResolveStyleContext ( nsIPresContext* aPresContext,
|
||||
return rv;
|
||||
}
|
||||
|
||||
if (NS_COMFALSE != rv) {
|
||||
mRenderer.ReResolveStyles(*aPresContext);
|
||||
if (NS_COMFALSE != rv) { // frame style changed
|
||||
if (aLocalChange) {
|
||||
aParentChange = *aLocalChange; // tell children about or change
|
||||
}
|
||||
}
|
||||
mRenderer.ReResolveStyles(*aPresContext, aParentChange, aChangeList, aLocalChange);
|
||||
|
||||
return rv;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user