I'm testing the following for the latest Chrome browser only (need it for my Chrome Extension.)
I was relying on jQuery to get me offsets of DOM elements and their height using the offset()
, outerHeight()
and other methods.
This works fine except when the tab/page is zoomed up or down. For some reason those methods return the same values as if no zooming was done.
Do I need to use other functions to account for the page zoom?