When CSS zoom is applied to an element the element can return incorrect offset values as a results (even though it continues to display in the correct place), seemingly the code to fill in the offsets automatically assumes that the element itself has been affected by the zoom without actually checking to ensure this is the case. Steps to reproduce: 1) Open attached testcase "zoombug.html" 2) click through 3 alert messages observing the offsetLeft value that it displays 3) observe that in each case the actual position of the div has not changed 4) observe that only the content inside the div that is zoomed the page around the div and the div itself are not affected by the zoom 5) observe that in each case the offsetLeft value of the element does change despite the fact that it is clearly offset by the exact same amount it was previously
Created attachment 98513 [details] test I assume you meant to upload a copy of the test.
*** This bug has been marked as a duplicate of bug 39924 ***
Yes sorry, forgot to upload test thanks. Not entirely sure this is a duplicate of 39924 as in the case of 39924 the whole page is zoomed and the offsets of the elements do actually change visually. In this case the element does not move at all.
No worries, we'll make sure to run your test case when fixing 39924. Thanks for the report and the reduced test!