Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
:visible selector including invisible elements #2604
An approach like you suggest was tried and abandoned (more than once, in fact) because of cross-browser inconsistencies (see http://bugs.jquery.com/ticket/10406 and http://bugs.jquery.com/ticket/13132). The current model essentially defines
Not so much. After spending more time with the DOM, it seems this case only really comes up in anchor tags, which already has a resolution with this. One /might/ consider a length > 1, or at least a check on ClientRectList.width/height if  is hidden, but at this point it's just academic. In all cases I've tested for actual behavior, my suggestion is just overhead. Consider the request withdrawn. Thank you all for your hard work.