Chromium Code Reviews
DescriptionRewrite how paint properties are built with bg:fixed main thread scrolling
Background-attachment: fixed forces main thread scrolling. The initial
paint property implementation [1] incorrectly allowed subtrees to scroll
off the main thread when an ancestor forced main thread scrolling reasons.
If there are three nested frames (A->B->C) and B has bg: fixed objects,
both B and C should have main thread reasons set (in [1], A and B would).
This patch also removes support for non-frame scrollers to change main
thread scrolling reasons for bg: fixed so that spv1 and spv2 match.
[1] https://chromium.googlesource.com/chromium/src/+/3797c08066b335c81847266d1f16dafc9b21e886
BUG=664672
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2619393002
Cr-Commit-Position: refs/heads/master@{#442413}
Committed: https://chromium.googlesource.com/chromium/src/+/0f8b383bba59a8240c646a99fb0a5b2afc995d5d
Patch Set 1 #
Messages
Total messages: 12 (8 generated)
|
|||||||||||||||||||||||||||||||||||||