WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
191364
scrollable iframe incorrect focus positioning
https://bugs.webkit.org/show_bug.cgi?id=191364
Summary
scrollable iframe incorrect focus positioning
k.vendrik
Reported
2018-11-07 08:18:44 PST
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.
Attachments
Add attachment
proposed patch, testcase, etc.
k.vendrik
Comment 1
2018-11-07 08:20:46 PST
Demo in Mobile Safari:
https://bugzilla.mozilla.org/attachment.cgi?id=9023207
k.vendrik
Comment 2
2018-11-09 12:33:15 PST
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).
Radar WebKit Bug Importer
Comment 3
2018-11-12 10:55:32 PST
<
rdar://problem/45995417
>
Antti Koivisto
Comment 4
2019-04-15 00:35:43 PDT
Seems to work fine in trunk.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug