[wpt-sync] Sync PR 30127 - Remove :active on blur for button elements
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox93 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 30127 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/30127
Details from upstream follow.
b'Joey Arhar <jarhar@chromium.org>' wrote:
Remove :active on blur for button elements
If you focus a button, then press the spacebar down and press tab before
releasing the spacebar, focus will switch away from the button but it
will keep the :active pseudo selector. This patch fixes it by removing
:active on blur.This patch is very similar to http://crrev.com/83786
Fixed: 945854
Change-Id: Ic8aca3ac782a2e9c07cac8c657a591a57287a238
Reviewed-on: https://chromium-review.googlesource.com/3114730
WPT-Export-Revision: 4ea1ba7a2fb74e37998ddabc2c16dc78ac623ee4
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Comment 1•4 years ago
|
||
| Assignee | ||
Comment 2•4 years ago
|
||
CI Results
Ran 11 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
FAIL: 1
Safari
OK : 1
FAIL: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/html/semantics/forms/the-button-element/active-onblur.html
Buttons should clear :active when the user tabs away from them while holding spacebar.: FAIL (Chrome: FAIL, Safari: FAIL)
Comment 4•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/e58e6317a1e3
https://hg.mozilla.org/mozilla-central/rev/93fbede834a3
Description
•