mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 950526 - dirty frames after reparenting. r=dbaron
This commit is contained in:
parent
b09530ff53
commit
e22f4dc847
@ -317,6 +317,7 @@ nsFirstLetterFrame::CreateContinuationForFloatingParent(nsPresContext* aPresCont
|
||||
nsRefPtr<nsStyleContext> newSC;
|
||||
newSC = presShell->StyleSet()->ResolveStyleForNonElement(parentSC);
|
||||
continuation->SetStyleContext(newSC);
|
||||
nsLayoutUtils::MarkDescendantsDirty(continuation);
|
||||
}
|
||||
|
||||
//XXX Bidi may not be involved but we have to use the list name
|
||||
@ -370,6 +371,7 @@ nsFirstLetterFrame::DrainOverflowFrames(nsPresContext* aPresContext)
|
||||
mStyleContext;
|
||||
sc = aPresContext->StyleSet()->ResolveStyleForNonElement(parentSC);
|
||||
kid->SetStyleContext(sc);
|
||||
nsLayoutUtils::MarkDescendantsDirty(kid);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user