Opened 15 years ago
Closed 15 years ago
#7783 closed Bug (fixed)
[IE9] Cursor at wrong position after enterBR
| Reported by: | Garry Yao | Owned by: | Garry Yao |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 3.6 |
| Component: | UI : Enter Key | Version: | 3.6 |
| Keywords: | Cc: |
Description
- Put cursor in the middle of text and press Shift Enter key;
- Actual Result: Br line-break created, cursor blinks at the same line;
- Expected Result: Br line-break created, cursor blinks after the line-break.
Attachments (1)
Change History (7)
comment:1 Changed 15 years ago by
| Status: | new → confirmed |
|---|
comment:2 Changed 15 years ago by
It takes several hours to reveal the culprit is actually the following CSS selector?!
a[name]:empty
{
display:inline-block;
}
I can't explain you why, but just guess perhaps IE9 leaks the selector to potentially all empty inline elements, includes BR.
comment:3 Changed 15 years ago by
| Owner: | set to Garry Yao |
|---|---|
| Status: | confirmed → review |
The patch just fakes the selector in IE9.
Changed 15 years ago by
| Attachment: | 7783.patch added |
|---|
comment:4 Changed 15 years ago by
| Status: | review → review_failed |
|---|
- Create an anchor using the dialog. Click it so it gains focus, and then click beneath it. Note that it is "collapsing".
- L50 in the link plugin, there's an obsolete comma.
comment:5 Changed 15 years ago by
| Status: | review_failed → review_passed |
|---|
It's impossible to reproduce the 1st issue now, so r+, just remove the comma.
comment:6 Changed 15 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | review_passed → closed |
Fixed with [6862].

Regression of [6766].