[wpt-sync] Sync PR 50012 - Fix WPT introduced by https://crrev.com/c/5948203 and failing since the switch to headless_shell
Categories
(Core :: DOM: Selection, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox136 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 50012 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/50012
Details from upstream follow.
Tanu Jain <tanujain@microsoft.com> wrote:
Fix WPT introduced by https://crrev.com/c/5948203 and failing since the switch to headless_shell
The test failed on headless_shell because, after creating the range
for selection, sending the key for backspace press was incorrectly
moving the selection. This resulted in the wrong character being
deleted and an additional selectionchange event. This CL resolves
the issue by placing the cursor at the correct position, deleting
the correct character/range, and ensuring the expected number of
selectionchange events.Bug: 387842573
Change-Id: I39415f541ec5b3d9e2cc64a3b04267033449d786Reviewed-on: https://chromium-review.googlesource.com/6110534
WPT-Export-Revision: c677d49deee0e7bedc9bb80a401869cff5c7bf77
Assignee | ||
Updated•1 month ago
|
Assignee | ||
Comment 1•1 month ago
|
||
Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, and Safari on GitHub CI
Total 1 tests and 2 subtests
Status Summary
Firefox
OK
: 1
PASS
: 2
Safari
OK
: 1
PASS
: 2
Links
Comment 4•1 month ago
|
||
bugherder |
Description
•