Bug 1693770 [wpt PR 27700] - [selectors] Improve focus-visible-011.html, a=testonly
commit2e33a0b0dc05287d123c8986b6c3a3485a46c81d
authorManuel Rego Casasnovas <rego@igalia.com>
Mon, 22 Feb 2021 21:54:59 +0000 (22 21:54 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Fri, 5 Mar 2021 16:17:35 +0000 (5 16:17 +0000)
treed62d02febab9aa8d848ca817b24e4d1bbe652718
parent53e13d8f53985e6976311220cfe68ea297c47e7c
Bug 1693770 [wpt PR 27700] - [selectors] Improve focus-visible-011.html, a=testonly

Automatic update from web-platform-tests
[selectors] Improve focus-visible-011.html

Some improvements on this test:
* Call preventDefault() for keydown, keyup and keypress events
  (so if an implementation relies in one of them it'll fail).
* Use a DIV instead of a BUTTON, so it can be run on Mac platforms too
  (buttons don't get focused on Mac in WebKit and Firefox).

--

wpt-commits: d9effa0e3d86deb2b91bd050c540afa6e7e2a436
wpt-pr: 27700
testing/web-platform/tests/css/selectors/focus-visible-011.html