jquery/jquery — comment on commit 06e56acb0d6f3d183389d3bcb7dfb54b7ae7c220
File:  line 0
By dmethvin:

if offsetWidth is 0 the element is hidden from the user's view and cannot be focused in oldIE. Some other browsers disregard this but it doesn't make sense as far as I can tell.

What is the useful purpose of focusing a non-visible element?