mirror of
https://github.com/roytam1/mozilla45esr.git
synced 2026-05-26 15:39:48 +00:00
import change from tenfourfox:
- closes #645: M171156 M1700895 M1665836 +TLDs TZs HSTS (7e2652114)
This commit is contained in:
@@ -3289,8 +3289,11 @@ nsCSSFrameConstructor::ConstructTextFrame(const FrameConstructionData* aData,
|
||||
// Add the newly constructed frame to the flow
|
||||
aFrameItems.AddChild(newFrame);
|
||||
|
||||
if (!aState.mCreatingExtraFrames)
|
||||
if (!aState.mCreatingExtraFrames ||
|
||||
(aContent->IsInNativeAnonymousSubtree() &&
|
||||
!aContent->GetPrimaryFrame())) {
|
||||
aContent->SetPrimaryFrame(newFrame);
|
||||
}
|
||||
}
|
||||
|
||||
/* static */
|
||||
|
||||
Reference in New Issue
Block a user