WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 233514
Update dialog focusing steps inert/disconnected handling
https://bugs.webkit.org/show_bug.cgi?id=233514
Summary
Update dialog focusing steps inert/disconnected handling
Tim Nguyen (:ntim)
Reported
2021-11-26 00:18:38 PST
After discussing with Domenic Denicola, we resolved on stopping early return in case of inert `<dialog>`, and disconnected `<dialog>` will just do nothing at the "focus the control" step. The focus fixup rule still applies, meaning the focus is still moved to the viewport in case of modal `<dialog>`, given everything else is non-focusable.
https://github.com/whatwg/html/commit/08b4033db249ea0c63fd35f4e8fa06e85ec20a6f
https://html.spec.whatwg.org/multipage/interaction.html#focus-fixup-rule
Attachments
Patch
(11.23 KB, patch)
2021-11-26 00:37 PST
,
Tim Nguyen (:ntim)
koivisto
: review+
Details
Formatted Diff
Diff
Patch
(11.25 KB, patch)
2021-11-26 01:14 PST
,
Tim Nguyen (:ntim)
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Tim Nguyen (:ntim)
Comment 1
2021-11-26 00:37:34 PST
Created
attachment 445177
[details]
Patch
Tim Nguyen (:ntim)
Comment 2
2021-11-26 00:37:59 PST
Submitted web-platform-tests pull request:
https://github.com/web-platform-tests/wpt/pull/31755
EWS Watchlist
Comment 3
2021-11-26 00:38:44 PST
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see
https://trac.webkit.org/wiki/WPTExportProcess
Tim Nguyen (:ntim)
Comment 4
2021-11-26 01:01:25 PST
Comment on
attachment 445177
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=445177&action=review
> LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-focusing-steps-inert.html:32 > + "dialog.show(): focusing steps not change focus when dialog is inert");
typo: should not
> LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-focusing-steps-inert.html:42 > +}, "dialog.show(): focusing steps not change focus when dialog is inert");
typo here too
Tim Nguyen (:ntim)
Comment 5
2021-11-26 01:14:32 PST
Created
attachment 445183
[details]
Patch
Tim Nguyen (:ntim)
Comment 6
2021-11-26 01:22:27 PST
Committed
r286174
(
244557@main
): <
https://commits.webkit.org/244557@main
>
Radar WebKit Bug Importer
Comment 7
2021-11-26 01:23:22 PST
<
rdar://problem/85762641
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug