Created attachment 57414 [details]
Test case illustrating the bug
I have run into an issue where zooming out of a page ( cmd - ) causes the element offset to become incorrect. This can have an impact on dynamic HTML which is not expecting this behaviour. Tests indicate this is a WebKit related issue, since both Safari and Chrome are impacted, while Opera and Firefox are not.
Tested on MacOS X 10.6 only.
I have attached a test case showing the issue:
1 - open the test case
2 - click on the button, in page, and observe displayed offset in console
3 - zoom out at least twice (more if possible)
4 - click on the button, in page, and observe displayed offset in console, compare to step 2
Just for reference versions of browsers tested with:
- Google Chrome (OS X) 5.0.375.55
- Webkit 4.0.5 (6531.22.7, r58136)
- Firefox 3.6.4
- Opera 0.10
Oops, that should have been 10.10 for Opera
*** Bug 63333 has been marked as a duplicate of this bug. ***
I am not able to reproduce this bug using steps from Comment 0 and also using the attached testcase on Safari 16.4 and it does not show different values (I zoomed in to extreme as well - more than once).
It matches with Chrome Canary and keep it as:
[Log] left: 300, top: 300 (attachment.cgi, line 27, x6)
Can we mark this as "RESOLVED CONFIGURATION CHANGED".
I just tested using Safari on iOS 16.4.1 (a) and I can no longer reproduce the issue.
I’ll close this.