[wpt-sync] Sync PR 64216 - Clear selection on range slider press to fix slider drag
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64216 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64216
Details from upstream follow.
Helmut Januschka <helmut@januschka.com> wrote:
Clear selection on range slider press to fix slider drag
Box-selecting across a range input and then dragging it started a
selection drag instead of moving the thumb, because the press sits
inside the selection. Clear the selection in StartDragging() when it
covers the input, which covers both the thumb press and the track
press; selections that do not cover the input are left alone.Bug: 40796813
Change-Id: Iafda8176af635e1b3992dbb9f61821ab61af35b2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8625727
Commit-Queue: Helmut Januschka \<helmut@januschka.com>
Reviewed-by: Joey Arhar \<jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1727011}
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•26 days ago
|
| Assignee | ||
Comment 1•26 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=114224
| Assignee | ||
Comment 2•24 days ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 186 tests and 16 subtests
Status Summary
Firefox
OK : 1[GitHub] 147[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 2[GitHub] 11[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 1996[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 2022[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 2023[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 26
Chrome
OK : 1
FAIL: 2
Safari
OK : 1
PASS: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /html/semantics/forms/the-input-element/type-change-to-same-type.html [wpt.fyi]:
PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview] - /html/semantics/forms/the-input-element/image-click-form-data.html [wpt.fyi]:
SKIP - /html/semantics/forms/the-input-element/click-user-gesture.html [wpt.fyi]
- input[type=date] click() consumes user activation:
FAIL - input[type=datetime-local] click() consumes user activation:
FAIL - input[type=month] click() consumes user activation:
FAIL - input[type=time] click() consumes user activation:
FAIL - input[type=week] click() consumes user activation:
FAIL
- input[type=date] click() consumes user activation:
- /html/semantics/forms/the-input-element/color.window.html [wpt.fyi]
- Display P3 colors can be out-of-bounds:
FAIL
- Display P3 colors can be out-of-bounds:
- /html/semantics/forms/the-input-element/date-readonly-keyboard.html [wpt.fyi]
- Readonly date input should not change value via keyboard interaction:
FAIL
- Readonly date input should not change value via keyboard interaction:
- /html/semantics/forms/the-input-element/datetime-local-trailing-zeros.html [wpt.fyi]
- Verifies that trailing zeros in the milliseconds portion of the date strings are removed.:
FAIL
- Verifies that trailing zeros in the milliseconds portion of the date strings are removed.:
- /html/semantics/forms/the-input-element/email-value-idn.html [wpt.fyi]
- IDN domain in parser-created email value attribute is converted to ASCII:
FAIL - IDN domain in dynamically-set email value attribute is converted to ASCII:
FAIL - IDN domains in multiple email value attribute are converted to ASCII:
FAIL - IDN domain is converted when type changes to email:
FAIL
- IDN domain in parser-created email value attribute is converted to ASCII:
- /html/semantics/forms/the-input-element/image-width-height.html [wpt.fyi]
- width and height attribute value "+10" when not rendered:
FAIL - width and height attribute value "50%" when not rendered:
FAIL - width and height attribute value "1.9" when not rendered:
FAIL - width and height attribute value "0.5" when not rendered:
FAIL - width and height attribute value "-0" when not rendered:
FAIL - width and height attribute value "-0.5" when not rendered:
FAIL
- width and height attribute value "+10" when not rendered:
- /html/semantics/forms/the-input-element/input-type-checkbox-switch.tentative.window.html [wpt.fyi]
- switch IDL attribute, setter:
FAIL - switch IDL attribute, getter:
FAIL - Cloning a switch control:
FAIL
- switch IDL attribute, setter:
- /html/semantics/forms/the-input-element/number-invalid-scientific-key-events.html [wpt.fyi]
- Reject multiple signs after 'e' (-):
FAIL - Reject multiple signs after 'e' (+):
FAIL - Leading '+' with existing 'e':
FAIL
- Reject multiple signs after 'e' (-):
- /html/semantics/forms/the-input-element/range-restore-oninput-onchange-event.https.html [wpt.fyi]
- Verifies that form restoration does not fire input or change events for <input type=range>.:
FAIL - Verifies that form restoration does not fire input or change events for <input type=text>.:
FAIL
- Verifies that form restoration does not fire input or change events for <input type=range>.:
Tests Disabled in Gecko Infrastructure
- /html/semantics/forms/the-input-element/type-change-to-same-type.html [wpt.fyi]:
PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview] - /html/semantics/forms/the-input-element/image-click-form-data.html [wpt.fyi]:
SKIP
Comment 4•18 days ago
|
||
| bugherder | ||
Description
•