Closed Bug 2047736 Opened 4 months ago Closed 4 months ago

[wpt-sync] Sync PR 60640 - [anchor] Allow non-normal alignment to overflow in scrollers.

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
154 Branch
Tracking Status
firefox154 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Ian Kilpatrick <ikilpatrick@chromium.org> wrote:

[anchor] Allow non-normal alignment to overflow in scrollers.

abspos with non-normal alignment has new default overflow behaviour.

When we overflow the IMCB we need to "shift" our position to be within
the union of the IMCB and the original containing-block. We take the
union as the IMCB may be larger than the original containing-block.

However if our containing-block is scrollable, we should allow it to
overflow in the scrollable direction.

To do this set out "overflow-limit" to infinity when we can scroll in
that direction.

Additionally we implement the WebKit behaviour described in:
https://github.com/w3c/csswg-drafts/issues/14008

If a fixed-pos (at the viewport) has a default anchor (e.g. it'll scroll
with that anchor by default), we allow it to overflow up to the
scroll-rect.

Fixed: 494601117, 452336844, 483370598
Change-Id: I7383def3d04ac07aed2e6dc063246fe0101874c7
Reviewed-on: https://chromium-review.googlesource.com/7702852
WPT-Export-Revision: 6a0f9dc453e8c7e85cee69e766ca35439143651d

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

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

Total 558 tests and 30 subtests

Status Summary

Firefox

OK : 1[GitHub] 308[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: 4[GitHub] 37[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 14618[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 14786[Gecko-android-em-14-x86_64-debug-geckoview] 14787[Gecko-android-em-14-x86_64-lite-opt-geckoview] 14788[Gecko-android-em-14-x86_64-opt-geckoview] 14794[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 14797[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL: 3[GitHub] 120[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 152[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 155[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 160[Gecko-android-em-14-x86_64-opt-geckoview] 161[Gecko-android-em-14-x86_64-lite-opt-geckoview] 162[Gecko-android-em-14-x86_64-debug-geckoview]

Chrome

OK : 1
PASS: 4
FAIL: 3

Safari

OK : 1
PASS: 7

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch
You need to log in before you can comment on or make changes to this bug.