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.
<rdar://problem/16220095>
Blink merge candidate: <http://src.chromium.org/viewvc/blink?view=rev&rev=165459>
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>.
New behavior will be implemented in https://bugs.webkit.org/show_bug.cgi?id=203139 instead.
*** This bug has been marked as a duplicate of bug 203139 ***