Bug 1322570 Part 5 - Use GetParentAllowServo() related to first letter frame. r=bz
::first-letter is not support by stylo yet. (bug 1324618) MozReview-Commit-ID: KwQk2jhn53c
This commit is contained in:
@@ -11495,7 +11495,7 @@ nsCSSFrameConstructor::CreateFloatingLetterFrame(
|
||||
nextTextFrame =
|
||||
CreateContinuingFrame(aState.mPresContext, aTextFrame, aParentFrame);
|
||||
// Repair the continuations style context
|
||||
nsStyleContext* parentStyleContext = aStyleContext->GetParent();
|
||||
nsStyleContext* parentStyleContext = aStyleContext->GetParentAllowServo();
|
||||
if (parentStyleContext) {
|
||||
RefPtr<nsStyleContext> newSC = styleSet->
|
||||
ResolveStyleForText(aTextContent, parentStyleContext);
|
||||
|
||||
Reference in New Issue
Block a user