Dimensions methods return 0 if a parent has display: none

Dimensions methods return 0 if a parent has display: none


http://dev.jquery.com/ticket/4500
I think we've discussed this a few times before and it was going to be
expensive to run all the way up the tree to make elements visible in
order to determine the dimensions. If that's still the consensus I'll
close this as wontfix and update the documentation. Right now the docs
say the methods work on hidden elements, but that only applies when
the element itself is hidden, not when parents are hidden.