"ASSERTION: Computed overflow area must contain frame bounds" with huge line height and word-wrap

RESOLVED WORKSFORME

Status

()

RESOLVED WORKSFORME
8 years ago
7 years ago

People

(Reporter: smontagu, Unassigned)

Tracking

({assertion, testcase})

unspecified
x86
Linux
assertion, testcase
Points:
---
Bug Flags:
in-testsuite ?

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

183 bytes, application/xhtml+xml
Details
(Reporter)

Description

8 years ago
Created attachment 488823 [details]
Testcase

The testcase is reduced (in every sense of the word) from the testcase for bug 595435.

It asserts 4 times:
###!!! ASSERTION: Computed overflow area must contain frame bounds: 'aNewSize.width == 0 || aNewSize.height == 0 || aOverflowAreas.Overflow(otype).Contains(nsRect(nsPoint(0,0), aNewSize))', file /home/smontagu/mozwork/hgtree/mozilla/layout/generic/nsFrame.cpp, line 6103

If I reduce the line-height in the testcase to < 235519, it triggers the assertion only twice, but triggers another one twice:
###!!! ASSERTION: illegal height for combined area: 'aOverflowAreas.Overflow(otype).height >= 0', file /home/smontagu/mozwork/hgtree/mozilla/layout/generic/nsLineBox.cpp, line 504

If I reduce the line-height to < 235421, there are no assertions.

Comment 1

7 years ago
This bug still exists after the modification to the assertion in https://hg.mozilla.org/mozilla-central/rev/e176daacecfc

###!!! ASSERTION: Computed overflow area must contain frame bounds: 'aNewSize.width == 0 || aNewSize.height == 0 || r->width == nscoord_MAX || r->height == nscoord_MAX || r->Contains(nsRect(nsPoint(0,0), aNewSize))', file layout/generic/nsFrame.cpp

Comment 2

7 years ago
WFM
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Flags: in-testsuite?
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.