Closed Bug 378035 Opened 17 years ago Closed 17 years ago

ASSERTION: Range out of bounds: 'IsInBounds(mStart, mLength, aStart, aLength)' file nsTextFrameThebes.cpp, line 1957, with new textframe, justification, and empty inlines

Categories

(Core :: Graphics, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: smontagu, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(2 files)

Attached file Reduced testcase
This assertion fires like crazy at the Hebrew bible site http://mechon-mamre.org/ but turns out to have nothing to do with RTL text. It's caused by an inline containing only whitespace, with whitespace immediately preceding or following. (in the original site there are anchors on each verse, e.g. <a name="1"> </a>)
Keywords: testcase
Attached file More minimal testcase
I don't know what scenario this NS_PRECONDITION is supposed to catch, but I don't think this is it.
Fixed on trunk. The warnings were spurious, caused by a bug in IsInBounds. Thanks...
Status: NEW → RESOLVED
Closed: 17 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

Created:
Updated:
Size: