Opened 9 years ago
Closed 9 years ago
#14772 closed bug (cantfix)
Can not correctly detect :focus/:active for DIVs with contenteditable in Firefox, Chrome
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | 1.11.1/2.1.1 |
Component: | selector | Version: | 1.11.0-rc1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Related to ticket #12648, the same issue with :focus appears in Firefox (tested against 26.0) with jQuery 1.8.3, and with :active in 2.1.0. Chrome has similar issues with the latest 1.11.
Change History (2)
comment:1 Changed 9 years ago by
Component: | unfiled → selector |
---|---|
Milestone: | None → 1.11.1/2.1.1 |
Priority: | undecided → low |
Status: | new → open |
comment:2 Changed 9 years ago by
Resolution: | → cantfix |
---|---|
Status: | open → closed |
http://jsfiddle.net/timmywil/JXAP2/
This is not something we can fix ourselves. I'm not sure the spec specifies the order of operations for setting the focus element and firing the focus event.
I've opened an issue on Chrome here. Let's see what they say on the specified behavior.
Either way, this is a cantfix. The workaround for now is to match in a setTimeout call, which works in all browsers.
Note: See
TracTickets for help on using
tickets.
Updated fiddle using 1.x git build: http://jsfiddle.net/YzagR/32/