Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only use getBoundingClientRect method instead of both? #19

Open
samatcd opened this issue Aug 6, 2014 · 2 comments
Open

Only use getBoundingClientRect method instead of both? #19

samatcd opened this issue Aug 6, 2014 · 2 comments

Comments

@samatcd
Copy link
Member

samatcd commented Aug 6, 2014

As far as I can see, getBoundingClientRect has good enough support to be the only method we use in this plugin.

Cutting the old calculations would reduce the plugin size to about half... Anyone against that?

http://www.quirksmode.org/dom/w3c_cssom.html#getBoundingClientRect

@vladlena
Copy link

I am all for it! And a friend on the line too

@samatcd
Copy link
Member Author

samatcd commented Jun 16, 2015

I think what would be good would be two versions, one with both for those who want to support old browsers, and one with only getBoundingClientRect.

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

No branches or pull requests

2 participants