Bug 231531 - Take in account ancestor documents when flushing autofocus candidates
Summary: Take in account ancestor documents when flushing autofocus candidates
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on: 203139
Blocks:
  Show dependency treegraph
 
Reported: 2021-10-11 13:54 PDT by Tim Nguyen (:ntim)
Modified: 2021-10-18 13:55 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>