[wpt-sync] Sync PR 27154 - content-visibility: Try and restore scroll offset if the element is a scroller.
Categories
(Core :: Layout, task, P4)
Tracking
()
| 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
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 1•5 years ago
|
||
| Assignee | ||
Comment 2•5 years ago
|
||
| Assignee | ||
Comment 3•5 years ago
|
||
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
Comment 5•5 years ago
|
||
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.
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
Comment 7•5 years ago
|
||
| bugherder | ||
Description
•