Source code
Revision control
Copy as Markdown
Other Tools
[focusreset-removal-variants.tentative.html]
[Removing an ancestor of the focused element]
expected: FAIL
[Removing via parent.removeChild()]
expected: FAIL
[Removing via replaceChild()]
expected: FAIL
[Removing via replaceWith()]
expected: FAIL
[Removing via innerHTML]
expected: FAIL
[Removing via textContent]
expected: FAIL
[Removing via replaceChildren()]
expected: FAIL
[Removing via outerHTML]
expected: FAIL
[Removing via Range.deleteContents()]
expected: FAIL
[Moving the focused element into a different document]
expected: FAIL
[Moving the focused element into a DocumentFragment]
expected: FAIL
[Removing a focused element in a shadow tree]
expected: FAIL
[Removing a shadow host whose shadow tree contains the focused element]
expected: FAIL
[Removing a focused element that is slotted]
expected: FAIL
[Removing a focused element inside an open <dialog>]
expected: FAIL
[Removing a focused <input>]
expected: FAIL
[Removing a focused contenteditable element]
expected: FAIL
[Removing a focused element with tabindex]
expected: FAIL
[Multiple removals of focused elements in the same task coalesce into one focusreset]
expected: FAIL
[Focus resets in separate tasks each fire their own focusreset]
expected: FAIL
[A focus reset from within a focusreset handler fires another focusreset asynchronously]
expected: FAIL
[Focus can be moved from a focusreset handler]
expected: FAIL