Closed
Bug 1029985
Opened 10 years ago
Closed 10 years ago
Assertion at ExtractRectFromOffset in nsRange.cpp
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
DUPLICATE
of bug 864595
People
(Reporter: mtseng, Unassigned)
References
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
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.
Reporter | ||
Comment 1•10 years ago
|
||
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"
Reporter | ||
Comment 2•10 years ago
|
||
roc, do you have any suggestion about this assertion? I have no idea how to handle this.
Flags: needinfo?(roc)
Comment hidden (obsolete) |
Comment 5•10 years ago
|
||
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.
Description
•