Closed Bug 1029985 Opened 10 years ago Closed 10 years ago

Assertion at ExtractRectFromOffset in nsRange.cpp

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 864595

People

(Reporter: mtseng, Unassigned)

References

Details

Attachments

(1 file)

Attached file range.html (deleted) —
In contenteditable <DIV>, if the text ends with "space" and create a range with start and end offset at right position of that "space". We got assertion because the rect of <DIV> doesn't count "space". We should find a way to avoid this assertion. Attachment is test case for this issue.
By the way, the assertion is "[72536] ###!!! ASSERTION: point.x should not be outside of rect r: 'aR->x <= point.x && point.x <= aR->XMost()', file /Users/Morris/mozilla/mozilla-central/content/base/src/nsRange.cpp, line 2738"
roc, do you have any suggestion about this assertion? I have no idea how to handle this.
Flags: needinfo?(roc)
oops wrong bug, please ignore comment 3.
Sounds like the same as bug 864595
Yes it is.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(roc)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: