RESOLVED DUPLICATE of bug 203139 129743
"autofocus" attribute handling is not compatible with other browsers
https://bugs.webkit.org/show_bug.cgi?id=129743
Summary "autofocus" attribute handling is not compatible with other browsers
David Kilzer (:ddkilzer)
Reported 2014-03-05 09:53:52 PST
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
David Kilzer (:ddkilzer)
Comment 1 2014-03-05 09:55:39 PST
David Kilzer (:ddkilzer)
Comment 2 2014-03-05 09:57:44 PST
Kent Tamura
Comment 3 2019-08-16 02:56:19 PDT
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
Comment 4 2019-10-17 22:09:39 PDT
New behavior will be implemented in https://bugs.webkit.org/show_bug.cgi?id=203139 instead.
Ryosuke Niwa
Comment 5 2019-10-17 22:11:13 PDT
*** This bug has been marked as a duplicate of bug 203139 ***
Note You need to log in before you can comment on or make changes to this bug.