Closed Bug 2074809 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 62883 - Fire scrollend event after layout scroll clamping and anchoring

Categories

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

task

Tracking

()

RESOLVED FIXED
159 Branch
Tracking Status
firefox159 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 62883 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/62883
Details from upstream follow.

David <awogbemila@chromium.org> wrote:

Fire scrollend event after layout scroll clamping and anchoring

When layout changes cause scroll clamping or anchoring adjustments,
Blink enqueues a scroll event via LocalFrameView::scroll_event_queue_
but previously omitted the corresponding scrollend event.

This patch updates LocalFrameView::EnqueueScrollEvents() to enqueue
a scrollend event when a scroll event was dispatched, provided there
is no running animation and the container is not currently latched
for a gesture scroll.

Bug: 482681552
Change-Id: I7b35c36ebd3a3ad2597276d086271226badb3458
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8428159
Reviewed-by: Vladimir Levin \<vmpstr@chromium.org>
Commit-Queue: David A \<awogbemila@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1702934}

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 61 tests and 1 subtests

Status Summary

Firefox

OK : 1[GitHub] 56[Gecko-android-em-14-x86_64-debug-geckoview] 57[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 58[Gecko-linux2404-64-debug]
PASS : 1[GitHub] 69[Gecko-android-em-14-x86_64-lite-opt-geckoview] 73[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug] 78[Gecko-linux2404-64-opt] 79[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 2[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 3[Gecko-linux2404-64-opt] 7[Gecko-android-em-14-x86_64-debug-geckoview] 8[Gecko-android-em-14-x86_64-opt-geckoview] 10[Gecko-linux2404-64-debug] 12[Gecko-android-em-14-x86_64-lite-opt-geckoview]
ERROR: 1

Chrome

OK : 1
FAIL : 1

Safari

OK : 1
FAIL : 1

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/1b9c3a50464a https://hg.mozilla.org/integration/autoland/rev/229c1da9697d [wpt PR 62883] - Fire scrollend event after layout scroll clamping and anchoring, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
You need to log in before you can comment on or make changes to this bug.