Bug 1693114 [wpt PR 27648] - [CompositeAfterPaint] Handle main thread scrolling chang...
commit7bf0eb676d49bf23413c7d7f415e6a436384f975
authorXianzhu Wang <wangxianzhu@chromium.org>
Mon, 22 Feb 2021 21:56:04 +0000 (22 21:56 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Fri, 5 Mar 2021 16:17:40 +0000 (5 16:17 +0000)
tree33d10023ee46a364ca59f3e2951032cc11c2c6fe
parente02146c31d16bc8eab0a3d0b123b125943cfbeef
Bug 1693114 [wpt PR 27648] - [CompositeAfterPaint] Handle main thread scrolling change during scroll animation, a=testonly

Automatic update from web-platform-tests
[CompositeAfterPaint] Handle main thread scrolling change during scroll animation

In pre-CAP the situation is handled when composited scrolling layer
changes in CompositedLayerMapping during compositing assignments update.
Not sure how a mere main thread scrolling status change (e.g. adding
background-attachment:fixed to a composited scrolling scroller) is
handled, but a test for the situation passes.

For CAP, now check change of main thread scrolling status in
PaintPropertyTreeBuilder.

The original test for the situation has not been working since we
removed rounded corner as a blocker of composited scrolling. Fix and
modernize it and add wpt tests.

Bug: 1176543
Change-Id: I00595635a7b1a729ddd05173e3452e40c34e52b3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2688140
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#855835}

--

wpt-commits: 4c56f3ec2751ff5952b317be7e40844c7b6cf914
wpt-pr: 27648
testing/web-platform/tests/css/cssom-view/add-background-attachment-fixed-during-smooth-scroll-ref.html [new file with mode: 0644]
testing/web-platform/tests/css/cssom-view/add-background-attachment-fixed-during-smooth-scroll.html [new file with mode: 0644]
testing/web-platform/tests/css/cssom-view/background-change-during-smooth-scroll.html [new file with mode: 0644]