Moved from https://bugzilla.mozilla.org/show_bug.cgi?id=1503682#c3. Demo: https://bugzilla.mozilla.org/attachment.cgi?id=9021636. Steps to reproduce: Embedded a form in a scrollable iframe. Codepen with iframe: https://codepen.io/kvendrik/pen/ePqNvy Codepen with iframe contents: https://codepen.io/kvendrik/pen/vVoOgq Actual results: When focussing some of the fields the focus seems to be on elements that I'm not tapping on, sometimes in completely different positions. Expected results: The input that I tap on should focus.
Demo in Mobile Safari: https://bugzilla.mozilla.org/attachment.cgi?id=9023207
To clarify: https://bugzilla.mozilla.org/attachment.cgi?id=9023207 Demonstrates different the cursor having a different position than the input in mobile Safari. https://bugzilla.mozilla.org/attachment.cgi?id=9021636 Demonstrates the cursor having a completely different position than the input but also demonstrates a different input getting selected than I'm tapping on which is the more concerning bug imo (Mobile FF).
<rdar://problem/45995417>
Seems to work fine in trunk.