Bug 140963
| Summary: | Fragment scrolling doesn't work properly when there is an element with autofocus content attribute | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Rodney Rehm <mail> |
| Component: | Accessibility | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | eoconnor, rniwa, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 202651 | ||
Rodney Rehm
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
<rdar://problem/19621533>