Open Bug 1951194 Opened 20 days ago Updated 20 days ago

[wpt-sync] Sync PR 51033 - New dialog focus steps using Flat Tree

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 51033 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/51033
Details from upstream follow.

Di Zhang <dizhangg@chromium.org> wrote:

New dialog focus steps using Flat Tree

Chrome has implemented the specification for dialog focusing steps
under the flag DialogNewFocusBehavior:
https://html.spec.whatwg.org/#dialog-focusing-steps

This patch implements the additional proposal at:
https://github.com/whatwg/html/issues/9245#issuecomment-2599423563
Which includes changes:

  • For autofocus delegate, use flat tree traversal for dialog element
  • For focus delegate, use flat tree traversal for dialog element

Change-Id: I803849cc3bfd3b4221c04a91fe466db4b127691e
Bug: 40369887
Reviewed-on: https://chromium-review.googlesource.com/6168969
WPT-Export-Revision: 885f26bd613d6da276b5de0fae1d3d02bc3577b1

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
You need to log in before you can comment on or make changes to this bug.