Bug 1838911 [wpt PR 40597] - Revert "View timeline: Handle offscreen stickiness....
commitd1c371a8947ca17b001de82cbc0d32ef9d0e9d06
authorReilly Grant <reillyg@chromium.org>
Mon, 19 Jun 2023 20:24:04 +0000 (19 20:24 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Wed, 21 Jun 2023 14:35:33 +0000 (21 14:35 +0000)
treefbfc7b92ad49c9eb3fff4f8ae59c294315c8316f
parent1b2731aee1e6255d8402cab9d5b8cea0c9fbe215
Bug 1838911 [wpt PR 40597] - Revert "View timeline: Handle offscreen stickiness.", a=testonly

Automatic update from web-platform-tests
Revert "View timeline: Handle offscreen stickiness."

This reverts commit 8164954aefce51cc59f95da80c0acce888a1bc0b.

Reason for revert: Causing flaky failures, e.g. https://ci.chromium.org/ui/p/chromium/builders/ci/mac11-arm64-rel-tests/20525/overview.

Original change's description:
> View timeline: Handle offscreen stickiness.
>
> A view timeline subject inside a position:sticky box can get "stuck"
> from any of the four CSS offset properties (left, top, right, bottom)
> during any of the named view-timeline ranges (entry, contain, exit) or
> even while it is entirely outside the viewport.
>
> ViewTimeline::CalculateOffsets previously assumed that stickiness occurred only when the subject was fully contained by the viewport.
> This change implements the more general solution.
>
> Bug: 1448294
> Change-Id: I842552b3a30078587eff6287e4ee11396d13ed95
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4616159
> Reviewed-by: Kevin Ellis <kevers@chromium.org>
> Commit-Queue: Steve Kobes <skobes@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1158852}

Bug: 1448294
Change-Id: I6d0bcfae16ee2265a2a1a442a646452ea89341e8
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4621249
Reviewed-by: Steve Kobes <skobes@chromium.org>
Auto-Submit: Reilly Grant <reillyg@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1158962}

--

wpt-commits: 4bdf59dc15828cdea946ef812a58c1567a10a884
wpt-pr: 40597
testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-sticky-offscreen.html [deleted file]