[wpt-sync] Sync PR 35326 - Add a test of dialog autofocus
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox106 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Depends on 2 open bugs, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 35326 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/35326
Details from upstream follow.
Mason Freed <masonf@chromium.org> wrote:
Add a test of dialog autofocus
This is a simple test of autofocus in the presence of \<dialog>,
as specified at [1]. It verifies that page-level autofocus still
works when there is a \<dialog> containing an autofocus element,
and also verifies that the \<dialog> autofocuses the correct
element when shown.Change-Id: I5d7d9db9bea46a2c37f80a8548f45045a09d885c
Reviewed-on: https://chromium-review.googlesource.com/3807536
WPT-Export-Revision: 0e8dff72f16edd5cb0dccbae8d867f2675095096
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 2 subtests
Status Summary
Firefox
OK
: 1
PASS
: 1
FAIL
: 1
Chrome
OK
: 1
PASS
: 2
Safari
OK
: 1
PASS
: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
- /html/interaction/focus/the-autofocus-attribute/autofocus-dialog.html [wpt.fyi]
- <dialog> can contain autofocus, without stopping page autofocus content from working:
FAIL
- <dialog> can contain autofocus, without stopping page autofocus content from working:
New Tests That Don't Pass
- /html/interaction/focus/the-autofocus-attribute/autofocus-dialog.html [wpt.fyi]
- <dialog> can contain autofocus, without stopping page autofocus content from working:
FAIL
(Chrome:PASS
, Safari:PASS
)
- <dialog> can contain autofocus, without stopping page autofocus content from working:
Comment 5•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5601c15811fe
https://hg.mozilla.org/mozilla-central/rev/6d2dad3f345c
Description
•