Bug 129743
Summary: | "autofocus" attribute handling is not compatible with other browsers | ||
---|---|---|---|
Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> |
Component: | Forms | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | dbates, rniwa, syoichi, tkent, webkit-bug-importer |
Priority: | P2 | Keywords: | BlinkMergeCandidate, InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | data:text/html,<input autofocus> <input autofocus> | ||
Bug Depends on: | |||
Bug Blocks: | 202651 |
David Kilzer (:ddkilzer)
From <https://code.google.com/p/chromium/issues/detail?id=336346>:
Version: All
OS: All
What steps will reproduce the problem?
1. Open the following URL:
data:text/html,<input autofocus> <input autofocus>
What is the expected output? What do you see instead?
Expected: According to the standard, Firefox, and IE11, the first <input> gets focus.
Actual: The second <input> gets focus.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
David Kilzer (:ddkilzer)
<rdar://problem/16220095>
David Kilzer (:ddkilzer)
Blink merge candidate: <http://src.chromium.org/viewvc/blink?view=rev&rev=165459>
Kent Tamura
The autofocus processing algorithm will be updated by https://github.com/whatwg/html/pull/4763.
Anyway, "data:text/html,<input autofocus> <input autofocus>" should still focus on the first <input>.
Ryosuke Niwa
New behavior will be implemented in https://bugs.webkit.org/show_bug.cgi?id=203139 instead.
Ryosuke Niwa
*** This bug has been marked as a duplicate of bug 203139 ***