Bug 1340723 part 2. Call the new UpdateStyleOnOwnedAnonBoxes function as needed from ServoRestyleManager. r=emilio

MozReview-Commit-ID: 5nrv8x7CEtN
This commit is contained in:
Boris Zbarsky
2017-03-03 15:44:48 -05:00
parent 24571d844b
commit b8daadc24a

View File

@@ -253,6 +253,11 @@ ServoRestyleManager::RecreateStyleContexts(Element* aElement,
displayContentsNode->mStyle = newContext;
}
if (styleFrame) {
styleFrame->UpdateStyleOfOwnedAnonBoxes(*aStyleSet, aChangeListToProcess,
changeHint);
}
// Update pseudo-elements state if appropriate.
const static CSSPseudoElementType pseudosToRestyle[] = {
CSSPseudoElementType::before,