github web-platform-tests/wpt merge_pr_48555

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
11 months ago

Set TriggerByScript to AnchorScrollFlags to ignore scroll anchor adjustments during (smooth) scrolling to anchor.

Since bug 1789930 we have allowed scroll anchor adjustments during scroll
operations by user. To tell whether the given scroll operation is done by user
or by script, we introduced ScrollFlags::TriggerByScript. Though scrolling to
anchor is kinda user triggered scroll operation, it would make sense to not allow
scroll anchor adjustments during scrolling to anchor.

Differential Revision: https://phabricator.services.mozilla.com/D224284

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1918906
gecko-commit: 0459776a6383546827e8541382bdab1d43ab23a7
gecko-reviewers: botond

Don't miss a new wpt release

NewReleases is sending notifications on new releases.