The default bug view has changed. See this FAQ.

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

RESOLVED FIXED

Status

()

Core
Layout
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: Jesse Ruderman, Unassigned)

Tracking

(Blocks: 1 bug, {assertion, testcase})

Trunk
x86_64
Mac OS X
assertion, testcase
Points:
---
Bug Flags:
in-testsuite ?

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

5 years ago
Created attachment 587912 [details]
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
(Reporter)

Comment 1

5 years ago
Created attachment 587913 [details]
stack trace
(Reporter)

Comment 2

5 years ago
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
Last Resolved: 5 years ago
Resolution: --- → FIXED

Updated

5 years ago
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.