Bug
1826405 [wpt PR 39374] - Use dialog focus algorithm for dialog popovers, a=testonly
Automatic update from web-platform-tests
Use dialog focus algorithm for dialog popovers
This patch makes it so that when a <dialog popover> gets opened as a
popover, it uses the dialog initial focus algorithm instead of the
popover initial focus algorithm.
The popover initial focus algorithm only focuses descendants with the
autofocus attribute, whereas the dialog initial focus algorithm focuses
anything that's focusable.
HTML spec PR: https://github.com/whatwg/html/pull/9121
Fixed:
1430405
Change-Id: I627d8ab9045ecdad8d8265fab95b68e571227685
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
4400070
Reviewed-by: Mason Freed <masonf@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#
1135058}
--
wpt-commits:
4ca635da82690ad04ff64e665c0ac7c57fce2203
wpt-pr: 39374