Closed Bug 1693770 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 27700 - [selectors] Improve focus-visible-011.html

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 27700 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/27700
Details from upstream follow.

b'Manuel Rego Casasnovas <rego@igalia.com>' wrote:

[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).
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
FAIL: 1

Chrome

OK : 1
PASS: 1

Safari

OK : 1
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/selectors/focus-visible-011.html
:focus-visible matches even if preventDefault() is called: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f8a403ce872f [wpt PR 27700] - [selectors] Improve focus-visible-011.html, a=testonly https://hg.mozilla.org/integration/autoland/rev/17a9010b07ae [wpt PR 27700] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/44b6e3472ac8 [wpt PR 27700] - [selectors] Improve focus-visible-011.html, a=testonly https://hg.mozilla.org/integration/autoland/rev/5428839090e3 [wpt PR 27700] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/523206140437 [wpt PR 27700] - [selectors] Improve focus-visible-011.html, a=testonly https://hg.mozilla.org/integration/autoland/rev/6eda453ff8f0 [wpt PR 27700] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.