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