Closed Bug 700090 Opened 8 years ago Closed 8 years ago
End Offset is beyond the end of this node" with Math ML
###!!! ASSERTION: mEndOffset is beyond the end of this node: 'static_cast<PRUint32>(mEndOffset) <= aInfo->mChangeEnd', file content/base/src/nsRange.cpp, line 317
The assertion is slightly wrong, it should allow the range offset to be length + 1. Same problem with the mStartOffset assertion.
Assignee: nobody → matspal
Attachment #572272 - Flags: review?(bugs)
Comment on attachment 572272 [details] [diff] [review] fix Ah, range offsets can point to after the last character. Took some time to figure out...
Attachment #572272 - Flags: review?(bugs) → review+
OS: Mac OS X → All
Hardware: x86_64 → All
Target Milestone: --- → mozilla11
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Component: DOM: Traversal-Range → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.