[wpt-sync] Sync PR 33961 - Change selection-not-application-textarea.html test to accommodate
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox102 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 33961 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/33961
Details from upstream follow.
Ziran Sun <zsun@igalia.com> wrote:
Change selection-not-application-textarea.html test to accommodate
platforms with different default selection direction values.
The test calls setSelectionRange(start, end [, direction]) API with
the direction argument ommitted. As per spec at
https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#textFieldSelection,
If the direction is omitted, it will be reset to be the platform default (none or forward).
The existing test script expects the direction to be "forward" only.This patch updates the test script to be in line with spec.
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Comment 1•4 years ago
|
||
| Assignee | ||
Comment 2•4 years ago
|
||
Comment 4•4 years ago
|
||
| bugherder | ||
Description
•