Closed Bug 717489 Opened 12 years ago Closed 12 years ago

"ASSERTION: line participants must not be containers" in nsLayoutUtils::IsContainerForFontSizeInflation

Categories

(Core :: Layout, defect)

x86_64
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: assertion, testcase)

Attachments

(2 files)

Attached file testcase
With

user_pref("font.size.inflation.emPerLine", 15);

the testcase triggers

###!!! ASSERTION: line participants must not be containers: '!aFrame->IsFrameOfType(nsIFrame::eLineParticipant) || isInline', file layout/base/nsLayoutUtils.cpp, line 4626
Attached file stack trace
WFM. Presumably fixed by rev 479a6867fcd3, which modified the assertion to include:

                ||
+               // br frames and mathml frames report being line
+               // participants even when their position or display is
+               // set
+               aFrame->GetType() == nsGkAtoms::brFrame ||
+               aFrame->IsFrameOfType(nsIFrame::eMathML),

(see https://bugzilla.mozilla.org/show_bug.cgi?id=706609#c18)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: