Closed Bug 2087351 Opened 1 month ago Closed 18 days ago

[wpt-sync] Sync PR 64216 - Clear selection on range slider press to fix slider drag

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
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}

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

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

Tests Disabled in Gecko Infrastructure

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/c67d497f80dd https://hg.mozilla.org/integration/autoland/rev/7cdc26b3eb45 [wpt PR 64216] - Clear selection on range slider press to fix slider drag, a=testonly
Status: NEW → RESOLVED
Closed: 18 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.