Bug 1340723 part 2. Call the new UpdateStyleOnOwnedAnonBoxes function as needed from ServoRestyleManager. r=emilio
MozReview-Commit-ID: 5nrv8x7CEtN
This commit is contained in:
@@ -253,6 +253,11 @@ ServoRestyleManager::RecreateStyleContexts(Element* aElement,
|
|||||||
displayContentsNode->mStyle = newContext;
|
displayContentsNode->mStyle = newContext;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (styleFrame) {
|
||||||
|
styleFrame->UpdateStyleOfOwnedAnonBoxes(*aStyleSet, aChangeListToProcess,
|
||||||
|
changeHint);
|
||||||
|
}
|
||||||
|
|
||||||
// Update pseudo-elements state if appropriate.
|
// Update pseudo-elements state if appropriate.
|
||||||
const static CSSPseudoElementType pseudosToRestyle[] = {
|
const static CSSPseudoElementType pseudosToRestyle[] = {
|
||||||
CSSPseudoElementType::before,
|
CSSPseudoElementType::before,
|
||||||
|
|||||||
Reference in New Issue
Block a user