Closed Bug 1913843 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 47677 - Fix top-layer position:sticky.

Categories

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

task

Tracking

()

RESOLVED FIXED
131 Branch
Tracking Status
firefox131 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Ian Kilpatrick <ikilpatrick@chromium.org> wrote:

Fix top-layer position:sticky.

We incorrectly only checked for position:relative and position:static
when performing the out-of-flow position adjusted specified:
https://drafts.csswg.org/css-position-4/#top-styling

Explicitly check if we don't have out-of-flow position instead.

Change-Id: I3be27b3d54f96f1c35796f50cec9715a08a86049
Reviewed-on: https://chromium-review.googlesource.com/5797251
WPT-Export-Revision: a3f2ac442aaefd591ef37f12a53893b1da069d56

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

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
PASS: 1

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
PASS: 1

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3217cb4fee70 [wpt PR 47677] - Fix top-layer position:sticky., a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
You need to log in before you can comment on or make changes to this bug.