[wpt-sync] Sync PR 31776 - Test that if a focused element becomes expressly inert, it stops being focused
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox96 fixed)
Tracking | Status | |
---|---|---|
firefox96 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 31776 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/31776
Details from upstream follow.
Oriol Brufau <obrufau@igalia.com> wrote:
Test that if a focused element becomes expressly inert, it stops being focused
https://html.spec.whatwg.org/multipage/interaction.html#focus-fixup-rule
Blink passes the test now, used to fail before https://crrev.com/941651
since enabling inertness was not enough, also needed a style recalc.Firefox and WebKit fail the test since they don't seem to implement
the focus fixup at all, e.g. removing tabindex attr doesn't work either.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=0820e462d9f804aedb77a8217977d3963751bfaa
Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 6 subtests
Status Summary
Firefox
OK : 1
FAIL: 6
Chrome
OK : 1
FAIL: 6
Safari
OK : 1
FAIL: 6
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/inert/dynamic-inert-on-focused-element.tentative.html
<input> that gets 'inert' attribute: FAIL (Chrome: FAIL, Safari: FAIL)
<input> whose parent gets 'inert' attribute: FAIL (Chrome: FAIL, Safari: FAIL)
<button> that gets 'inert' attribute: FAIL (Chrome: FAIL, Safari: FAIL)
<div> that gets 'inert' attribute: FAIL (Chrome: FAIL, Safari: FAIL)
<div> whose parent gets 'inert' attribute: FAIL (Chrome: FAIL, Safari: FAIL)
<div> whose grandparent gets 'inert' attribute: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a3f3bb6b6351 [wpt PR 31776] - Test that if a focused element becomes expressly inert, it stops being focused, a=testonly https://hg.mozilla.org/integration/autoland/rev/890bdfb8b2cf [wpt PR 31776] - Update wpt metadata, a=testonly
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a3f3bb6b6351
https://hg.mozilla.org/mozilla-central/rev/890bdfb8b2cf
Description
•