Bug 231531

Summary: Take in account ancestor documents when flushing autofocus candidates
Product: WebKit Reporter: Tim Nguyen (:ntim) <ntim>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 203139    
Bug Blocks:    

Description Tim Nguyen (:ntim) 2021-10-11 13:54:33 PDT
See FIXME in: Document::flushAutofocusCandidates()

From the spec (https://html.spec.whatwg.org/multipage/interaction.html#flush-autofocus-candidates):

> Let inclusiveAncestorDocuments be a list consisting of doc, plus the active documents of each of doc's browsing context's ancestor browsing contexts.

> If any Document in inclusiveAncestorDocuments has non-null target element, then continue.
Comment 1 Radar WebKit Bug Importer 2021-10-18 13:55:19 PDT
<rdar://problem/84386215>