Closed Bug 1645132 Opened 4 years ago Closed 1 year ago

Text layout of very big text nodes can end up causing negative isize assertions to fire.

Categories

(Core :: Layout: Text and Fonts, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1751828

People

(Reporter: emilio, Assigned: emilio)

Details

Attachments

(1 file)

This was hit by Andreas while trying to write a DOM test.

The test in D79145 hits a negative isize assertion because of this.

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fe18d84dddfc Use NSToCoordCeilClamped to prevent overflow when laying out very big text nodes. r=jfkthame

Probably the assertion count should be adjusted, will look into it later.

Flags: needinfo?(emilio)

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:emilio, could you have a look please?
For more information, please visit auto_nag documentation.

Flags: needinfo?(emilio)
Flags: needinfo?(emilio)
Status: NEW → RESOLVED
Type: task → defect
Closed: 1 year ago
Duplicate of bug: 1751828
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: