Bug 231529

Summary: Make autofocus a global attribute
Product: WebKit Reporter: Tim Nguyen (:ntim) <ntim>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: cdumez, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
WIP none

Tim Nguyen (:ntim)
Reported 2021-10-11 13:47:31 PDT
autofocus is currently limited to these current elements: https://webkit-search.igalia.com/webkit/rev/549cfddb2c8f134d24510de87c8bbb41c20e055c/Source/WebCore/html/HTMLFormControlElement.cpp#229-238 However, autofocus is a global attribute, so editable elements or tabindex > -1 elements should be autofocusable as well.
Attachments
WIP (8.73 KB, patch)
2021-10-12 00:56 PDT, Tim Nguyen (:ntim)
no flags
Tim Nguyen (:ntim)
Comment 1 2021-10-12 00:56:19 PDT
Radar WebKit Bug Importer
Comment 2 2021-10-18 13:48:19 PDT
Chris Dumez
Comment 3 2021-10-28 07:32:51 PDT
Seems we should dupe to bug 232349 ?
Tim Nguyen (:ntim)
Comment 4 2021-10-28 09:42:42 PDT
*** This bug has been marked as a duplicate of bug 232349 ***
Note You need to log in before you can comment on or make changes to this bug.