Opened 14 years ago
Closed 14 years ago
#6301 closed Bug (invalid)
Handler function for 'focus' event firing infinitely in Firefox
Reported by: | Scalar | Owned by: | Tobiasz Cudnik |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.4.2 |
Component: | General | Version: | 3.4 |
Keywords: | Firefox | Cc: |
Description
if we binf handler for 'focus' event, it will be firing infinitely.
Browser: Firefox 3.5.7 OS: Windows XP SP3
Attachments (1)
Change History (3)
Changed 14 years ago by
Attachment: | test2.html added |
---|
comment:1 Changed 14 years ago by
Keywords: | Firefox added; focus firefox removed |
---|---|
Milestone: | → CKEditor 3.4.2 |
Owner: | set to Tobiasz Cudnik |
Status: | new → assigned |
comment:2 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
I don't think it's an editor's bug, rather "behavior based on the design" of how focus works:
- Editor gains focus
- Alert steals focus
- One closes alert
- Focus is back to last focused element (editor)
- Back to point 1
After making a TC with another textarea, which gains the focus instead of an alert, there isn't any problem.
Test file, demonstrates the bug