[wpt-sync] Sync PR 64371 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=318756
Categories
(Core :: Layout: Scrolling and Overflow, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64371 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64371
Details from upstream follow.
Simon Fraser <simon.fraser@apple.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=318756
WebKit export from bug: [<!---->Scroll anchoring]<!----> nfl.<!---->com scroll position jumps when hovering the top bar (<!---->changing scroll-<!---->padding)<!---->
<pre>
[Scroll anchoring] nfl.com scroll position jumps when hovering the top bar (changing scroll-padding)The scroll anchoring code re-used
computeScrollerRelativeRects()for both anchor selection, and
scroll anchoring adjustment. However, only anchor selection should respectscroll-padding; this caused
an erroneous scroll anchoring adjustment on nfl.com when the page changesscroll-paddingon the root
when the top bar is hovered.Fix by passing in a flag to say whether
scroll-paddingshould be respected; off for anchor adjustment,
and on for anchor selection.WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=318756">https://bugs.webkit.org/show_bug.cgi?id=318756</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/316662@main">https://commits.webkit.org/316662@main</a>
</pre>
| Assignee | ||
Updated•17 days ago
|
| Assignee | ||
Updated•16 days ago
|
| Assignee | ||
Updated•16 days ago
|
| Assignee | ||
Updated•16 days ago
|
| Assignee | ||
Updated•15 days ago
|
| Assignee | ||
Comment 1•15 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=116169
| Assignee | ||
Comment 2•14 days ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 82 tests
Status Summary
Firefox
OK : 1[GitHub] 71[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] 72[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 : 1[GitHub] 5[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 88[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] 95[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 98[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 99[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 3[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 4[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]
TIMEOUT: 1
ERROR : 1
Chrome
OK : 1
PASS : 1
Safari
OK : 1
PASS : 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-scroll-anchoring/start-edge-in-block-layout-direction.html [wpt.fyi]:
OK[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],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] - /css/css-scroll-anchoring/focus-prioritized.html [wpt.fyi]
- Anchor selection prioritized focused element.:
FAIL
- Anchor selection prioritized focused element.:
- /css/css-scroll-anchoring/fragment-scrolling-anchors.html [wpt.fyi]
- Verify scroll anchoring interaction with fragment scrolls:
FAIL[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],PASS[Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt]
- Verify scroll anchoring interaction with fragment scrolls:
- /css/css-scroll-anchoring/history-restore-anchors.html [wpt.fyi]
- Verify scroll anchoring interaction with history restoration:
FAIL
- Verify scroll anchoring interaction with history restoration:
- /css/css-scroll-anchoring/negative-layout-overflow.html [wpt.fyi]
- Anchor selection accounts for negative positioning.:
FAIL
- Anchor selection accounts for negative positioning.:
- /css/css-scroll-anchoring/reading-scroll-forces-anchoring.html [wpt.fyi]:
ERROR- Reading scroll position forces scroll anchoring adjustment.:
TIMEOUT
- Reading scroll position forces scroll anchoring adjustment.:
Tests Disabled in Gecko Infrastructure
- /css/css-scroll-anchoring/start-edge-in-block-layout-direction.html [wpt.fyi]:
OK[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],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]
Comment 4•8 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/eb5c68066587
https://hg.mozilla.org/mozilla-central/rev/fa3e8cdaaad0
Description
•