зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1324700 - Call PreTraverseSync() before calling ResolveStyleLazily() in ResolveTransientStyle(). r=heycam
MozReview-Commit-ID: 5KMELNYZJnq --HG-- extra : rebase_source : 025a0d2267144bd631f28f554dba54352b13a43b
This commit is contained in:
Родитель
784bf46abc
Коммит
d034849334
|
@ -422,6 +422,8 @@ ServoStyleSet::ResolvePseudoElementStyle(Element* aOriginatingElement,
|
|||
already_AddRefed<nsStyleContext>
|
||||
ServoStyleSet::ResolveTransientStyle(Element* aElement, CSSPseudoElementType aType)
|
||||
{
|
||||
PreTraverseSync();
|
||||
|
||||
nsIAtom* pseudoTag = nullptr;
|
||||
if (aType != CSSPseudoElementType::NotPseudo) {
|
||||
pseudoTag = nsCSSPseudoElements::GetPseudoAtom(aType);
|
||||
|
|
Загрузка…
Ссылка в новой задаче