Opened 15 years ago
Last modified 15 years ago
#6992 closed Bug
[IE7] Selection error when typing text after table — at Version 2
| Reported by: | Garry Yao | Owned by: | Garry Yao |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 3.5.1 |
| Component: | Core : Selection | Version: | 3.5.1 |
| Keywords: | IE | Cc: |
Description (last modified by )
The bug is only reproducible in and below IE7:
- Use enterMode BR;
- Load a table as initial contents:
<table> <tbody> <tr> <td> text </td> </tr> </tbody> </table>
- Put the cursor after the table and start typing
- Actual Result: JavaScript error thrown;
Change History (3)
comment:1 Changed 15 years ago by
| Status: | new → confirmed |
|---|
Changed 15 years ago by
| Attachment: | 6992.patch added |
|---|
comment:2 Changed 15 years ago by
| Description: | modified (diff) |
|---|---|
| Owner: | set to Garry Yao |
| Status: | confirmed → review |
It looks like an IE bug when measuring the selection range, confirm it only happens with newly inserted text nodes after a table element at the end of document.
The patch fix the error when doesn't guarantee the correctness of range measurement in this case, while considering it's quite a edge case, we could work later to check a complete solution.

Regression of [6337].