Ticket #3895 (closed enhancement: fixed)
Using offsetWidth for jQuery selectors (especifically the :visible selector)
|Reported by:||matheusalmeida||Owned by:||john|
As discussed at the jQuery Development group: http://groups.google.com/group/jquery-dev/browse_thread/thread/e18b399b36d03f4f
A simpler and more officient way to determine if a element is visible at the document is to test its offsetWidth or offsetHeight parameter values.
It discards the parents verification and treat as hidden not just the elements with display:none or visibility:hidden but also those that has zero-valued width or height.