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

Description Tim Nguyen (:ntim) 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.
Comment 1 Tim Nguyen (:ntim) 2021-10-12 00:56:19 PDT
Created attachment 440904 [details]
WIP
Comment 2 Radar WebKit Bug Importer 2021-10-18 13:48:19 PDT
<rdar://problem/84385920>
Comment 3 Chris Dumez 2021-10-28 07:32:51 PDT
Seems we should dupe to bug 232349 ?
Comment 4 Tim Nguyen (:ntim) 2021-10-28 09:42:42 PDT

*** This bug has been marked as a duplicate of bug 232349 ***