Bug 1804571 - Fix missing page-name trackers for Ruby frames r=dholbert

Differential Revision: https://phabricator.services.mozilla.com/D164622
This commit is contained in:
Emily McDonough
2022-12-14 23:16:05 +00:00
parent e29b38680f
commit f69cf52d62
3 changed files with 13 additions and 0 deletions

View File

@@ -3282,6 +3282,7 @@ nsIFrame* nsCSSFrameConstructor::ConstructBlockRubyFrame(
nsContainerFrame* newFrame = blockFrame;
nsContainerFrame* geometricParent =
aState.GetGeometricParent(*aStyleDisplay, aParentFrame);
AutoFrameConstructionPageName pageNameTracker(aState, blockFrame);
if ((aItem.mFCData->mBits & FCDATA_MAY_NEED_SCROLLFRAME) &&
aStyleDisplay->IsScrollableOverflow()) {
nsContainerFrame* scrollframe = nullptr;