Closed Bug 1943405 Opened 1 month ago Closed 25 days ago

[wpt-sync] Sync PR 50246 - Adjust sticky constraint rects to exclude scroll origin

Categories

(Core :: Layout: Positioned, task, P4)

task

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Chris Harrelson <chrishtr@google.com> wrote:

Adjust sticky constraint rects to exclude scroll origin

We were previously computing this rect in the space of the scroller, not its physical content space (excluding user scroll offset). For scrollers that have a non-zero scroll origin, the sticky offset resulting was incorrect.

Bug: 40653832

Test: external/wpt/css/css-position/sticky/position-sticky-rtl.html

Change-Id: Ic15d210e0460a07206ebfe8c79bfc6105588db19
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6173917
Commit-Queue: Chris Harrelson \<chrishtr@chromium.org>
Reviewed-by: Robert Flack \<flackr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1410413}

Component: web-platform-tests → Layout: Positioned
Product: Testing → Core

CI Results

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

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

FAIL: 1

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c17ae3d9f998 [wpt PR 50246] - Adjust sticky constraint rects to exclude scroll origin, a=testonly
Status: NEW → RESOLVED
Closed: 25 days ago
: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.