Auto merge of #26902 - jdm:focus-fixes, r=nox

Focus correctness improvements

These changes improve the behaviour of focus in Hubs rooms, and are expected to improve web compat around other dynamic pages that receive keyboard events as well.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #26901 and fix #26900.
- [x] There are tests for these changes
This commit is contained in:
bors-servo 2020-06-15 11:49:30 -04:00 committed by GitHub
commit f31d345c81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 135 additions and 96 deletions

View file

@ -2,21 +2,6 @@
[Disabling contenteditable]
expected: FAIL
[Hiding the active element]
expected: FAIL
[Disabling the active element (making it expressly inert)]
expected: FAIL
[Changing the first legend element in disabled <fieldset>]
expected: FAIL
[Disabling <fieldset> affects its descendants]
expected: FAIL
[Removing the tabindex attribute from a div]
expected: FAIL
[Removing the active element from the DOM]
expected: FAIL