Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

update the method offset() #732

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
4 participants

getting the element's attribute(such as: height) which has the style "display:none".

@clareSun clareSun Update zepto.js
getting the element's attribute(such as: height) which has the style "display:none".
5c30ad4
Owner

madrobby commented Sep 13, 2013

This would be good-to-have for jQuery compatibility, but is missing tests.

why not just call obj = elem.getBoundingClientRect() ?

Do you really need this method? It's called only once

@ghost ghost assigned madrobby Nov 24, 2013

Owner

madrobby commented Nov 24, 2013

Any takers for a better implementation of this, that includes tests?

Collaborator

mislav commented Jul 12, 2016

jQuery doesn't support getting this information for hidden elements, nor includes the properties width and height in the first place.

@mislav mislav closed this Jul 12, 2016

@mislav mislav added the Won'tfix label Jul 12, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment