Ticket #3292 (closed Bug: expired)
CKEDITOR.dom.range.getBoundaryNodes with collapsed range
| Reported by: | garry.yao | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 3.1 |
| Component: | General | Version: | |
| Keywords: | Cc: |
Description
Currently the 'getBoundaryNodes' function is returning incorrect elements when range is collapsed, based on the semantic of the function, it should return 'null' for boundary nodes instead.
Attachments
Change History
Changed 4 years ago by garry.yao
- Attachment range_boundaryNodes_collapsedRange.patch added
comment:1 Changed 4 years ago by garry.yao
A concrete example of failure caused by this bug would be when you asking 'CKEDITOR.dom.range.checkEndOfBlock' with the following, it will give a positive answer, which is wrong.
<p>^text</p>
Note: See
TracTickets for help on using
tickets.

Unit Test Case