Last modified: 2014-07-10 20:22:05 UTC
Created attachment 15725 [details] Screenshot-1 Steps to reproduce: 1.Open a page with safari in any iOS device which contains image in it 2.Now tap on the image to select it Observed Result: The highlight for the image is appearing much below the image See the screenshots attached
Created attachment 15726 [details] Screenshot-2
In every browser except iOS7 getClientRects is relative to the viewport. In iOS7 it is relative to document. Thanks Apple.
Want to write up a bug report for Apple?
Change 142260 had a related patch set uploaded by Esanders: Use getClientRects()[0] instead of getBoundingClientRect() https://gerrit.wikimedia.org/r/142260
Change 142260 merged by jenkins-bot: FocusableNode: Use getClientRects()[0] instead of getBoundingClientRect() https://gerrit.wikimedia.org/r/142260
The highlight for images appearing in wrong position is now fixed ! :) However the tapping on link or image redirecting to the link target or image file page and second tap on reference closing the VE is still there.Therefore, I suppose the following bugs are not related: https://bugzilla.wikimedia.org/show_bug.cgi?id=65326 https://bugzilla.wikimedia.org/show_bug.cgi?id=67002
Verified the fix in Betalabs.
Verified the fix in test2
Verified the fix in production