Closed Bug 1686541 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 27154 - content-visibility: Try and restore scroll offset if the element is a scroller.

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

b'Vladimir Levin <vmpstr@chromium.org>' wrote:

content-visibility: Try and restore scroll offset if the element is a scroller.

This patch tries to restore the scroll offset on a locked element if
it is a scroller. If the content of the element has changed, then this
scroll offset may not take effect, but we still try to set it.

Bug: 1165856
Change-Id: Iade948abbb08a30280e25fbff4c2e8eefdf012c2
R=chrishtr@chromium.org
Reviewed-on: https://chromium-review.googlesource.com/2625627
WPT-Export-Revision: 68cbcb35353e26ab126bbff9bdd8a27a9d58764a

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

CI Results

Ran 14 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

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c84d9f69ae8b [wpt PR 27154] - content-visibility: Try and restore scroll offset if the element is a scroller., a=testonly

Automatic update from web-platform-tests
content-visibility: Try and restore scroll offset if the element is a scroller.

This patch tries to restore the scroll offset on a locked element if
it is a scroller. If the content of the element has changed, then this
scroll offset may not take effect, but we still try to set it.

R=chrishtr@chromium.org

Bug: 1165856
Change-Id: Iade948abbb08a30280e25fbff4c2e8eefdf012c2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2625627
Commit-Queue: vmpstr <vmpstr@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#843769}

--

wpt-commits: 4df04ebe531e25744aaa428077b061a00cdb08cc
wpt-pr: 27154

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5c08caceb986 [wpt PR 27154] - content-visibility: Try and restore scroll offset if the element is a scroller., a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: