Bug 1686541 [wpt PR 27154] - content-visibility: Try and restore scroll offset if...
commit72485581f26aba7a15d774a026826463283c4448
authorVladimir Levin <vmpstr@chromium.org>
Fri, 15 Jan 2021 22:18:43 +0000 (15 22:18 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Tue, 19 Jan 2021 13:23:17 +0000 (19 13:23 +0000)
treedbc53e31cb21dbde74ae047ae0fa8d4465318bb6
parent03f6053edbb3f0f8fbe55375513449eb263dddfa
Bug 1686541 [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
testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-081.html [new file with mode: 0644]