[wpt-sync] Sync PR 46561 - Dispatch BeforeInput Event for number input spin button and Arrow key
Categories
(Core :: DOM: Events, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox128 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 46561 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/46561
Details from upstream follow.
Utkarsh Pathak <utpathak@microsoft.com> wrote:
Dispatch BeforeInput Event for number input spin button and Arrow key
https://w3c.github.io/uievents/#event-type-beforeinput
A user agent MUST dispatch beforeinput event when the DOM is about to be updated.Bug: 40948436
Change-Id: Idc894f4e7427a81e684b37cc10749b4386e5aa7d
Reviewed-on: https://chromium-review.googlesource.com/5443103
WPT-Export-Revision: fb8c179b475617b021bb3a0e67b20f9fe9025ee9
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 6 tests and 1 subtests
Status Summary
Firefox
OK : 4
PASS : 1
FAIL : 3
ERROR: 2
Chrome
OK : 5
FAIL : 6
ERROR: 1
Safari
OK : 5
FAIL : 6
ERROR: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
New Tests That Don't Pass
- /input-events/input-events-arrow-key-on-number-input-delete-document.html [wpt.fyi]:
ERROR(Chrome:ERROR, Safari:ERROR) - /input-events/input-events-arrow-key-on-number-input-prevent-default.html [wpt.fyi]
- Number input should not fire input and change event if the beforeinput event is default prevented:
FAIL(Chrome:FAIL, Safari:FAIL)
- Number input should not fire input and change event if the beforeinput event is default prevented:
- /input-events/input-events-spin-button-click-on-number-input-delete-document.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:OK) - /input-events/input-events-spin-button-click-on-number-input-prevent-default.html [wpt.fyi]
- Number input should not fire input and change event if the beforeinput event is default prevented:
FAIL(Chrome:FAIL, Safari:FAIL)
- Number input should not fire input and change event if the beforeinput event is default prevented:
- /input-events/input-events-spin-button-click-on-number-input.html [wpt.fyi]
- Number input should fire beforeinput event before the input and change event:
FAIL(Chrome:FAIL, Safari:FAIL)
- Number input should fire beforeinput event before the input and change event:
Comment 4•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/20e7149b377f
https://hg.mozilla.org/mozilla-central/rev/086e2de6aac7
Description
•