Summary: | background-attachment:fixed inside position:fixed shouldn't cause slow scrolling | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Cameron McCormack (:heycam) <heycam> | ||||||||||||
Component: | Scrolling | Assignee: | Cameron McCormack (:heycam) <heycam> | ||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||
Severity: | Normal | CC: | changseok, cmarcelo, esprehn+autocc, ews-watchlist, fred.wang, glenn, jamesr, kondapallykalyan, luiz, pdr, simon.fraser, tonikitoo, webkit-bug-importer | ||||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||||
Version: | WebKit Local Build | ||||||||||||||
Hardware: | Unspecified | ||||||||||||||
OS: | Unspecified | ||||||||||||||
Bug Depends on: | 226453 | ||||||||||||||
Bug Blocks: | |||||||||||||||
Attachments: |
|
Description
Cameron McCormack (:heycam)
2021-05-28 15:09:12 PDT
Created attachment 430175 [details]
Squashed patch with dependencies for EWS
Created attachment 430232 [details]
Squashed patch with dependencies for EWS
Created attachment 430297 [details]
Patch
Comment on attachment 430297 [details] Patch Let's fix up this build bustage from dropping the bug 226453 patch. Created attachment 430309 [details]
Patch
Comment on attachment 430309 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=430309&action=review Seems OK, but it's worrisome that some layout tests that don't have fixed backgrounds have different repaint behavior. > Source/WebCore/rendering/RenderLayerCompositor.cpp:4920 > + // scrolling tree propagates DescendantScrollersHaveSynchronousScrolling bits up the > + // tree, but shouldUpdateScrollLayerPositionSynchronously looks at the scrolling state > + // tree instead.) Yeah that sucks. (In reply to Simon Fraser (smfr) from comment #7) > Seems OK, but it's worrisome that some layout tests that don't have fixed > backgrounds have different repaint behavior. I'll investigate that before landing. > bool hasSynchronousScrollingReasons(ScrollingNodeID nodeID) const { return !synchronousScrollingReasons(nodeID); }
It was a missing ! here. 😐
Created attachment 430438 [details]
Patch
Committed r278419 (238443@main): <https://commits.webkit.org/238443@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 430438 [details]. |