WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
Bug 140963
Fragment scrolling doesn't work properly when there is an element with autofocus content attribute
https://bugs.webkit.org/show_bug.cgi?id=140963
Summary
Fragment scrolling doesn't work properly when there is an element with autofo...
Rodney Rehm
Reported
2015-01-27 15:19:11 PST
Specifications: *
http://www.w3.org/TR/html5/forms.html#autofocusing-a-form-control:-the-autofocus-attribute
*
http://www.w3.org/TR/html5/browsers.html#scroll-to-fragid
WebKit will scroll to the :target and focus the element if it is focusable. If it's not focusable, it will still scroll to :target, but focus the element with autofocus attribute set. Live test case:
http://medialize.github.io/ally.js/tests/browser-bugs/blink-autofocus.html#foo
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2015-01-27 15:19:45 PST
<
rdar://problem/19621533
>
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