Side navigation
#12123 closed bug (invalid)
Opened July 23, 2012 07:01AM UTC
Closed August 08, 2012 08:33AM UTC
Inconsistent number of in-focus elements across different browsers
Reported by: | lihan | Owned by: | lihan |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Have already created a test page
In Chrome/FF, when you open the page, you can see there is no current focused element which is expected.
But in IE8/9, you will see there is 1 focused element which is not expected. Furthermore, if you click on the text "Number of focus", you will see the focused element has been moved to 'BODY' element.
Is there a reason for this? Or it's a bug?
Attachments (0)
Change History (3)
Changed July 23, 2012 07:07AM UTC by comment:1
Changed July 24, 2012 08:17PM UTC by comment:2
owner: | → lihan |
---|---|
status: | new → pending |
On browsers that don't support the CSS :focus
selector we use document.activeElement
to get the focused element. The two don't always agree but I don't think we can determine those cases. If you don't expect the body to be focused in your application, can you just ignore that?
Changed August 08, 2012 08:33AM UTC by comment:3
resolution: | → invalid |
---|---|
status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
Please use http://jsfiddle.net/MMJSP/1/ instead.