Summary: | Use ScrollClamping in more places in scrolling code | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> | ||||
Component: | Scrolling | Assignee: | Simon Fraser (smfr) <simon.fraser> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | changseok, cmarcelo, esprehn+autocc, ews-watchlist, fred.wang, glenn, jamesr, koivisto, kondapallykalyan, luiz, pdr, simon.fraser, thorton, tonikitoo, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Simon Fraser (smfr)
2021-10-03 11:41:36 PDT
Created attachment 440010 [details]
Patch
Comment on attachment 440010 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=440010&action=review > Source/WebCore/platform/ScrollableArea.h:400 > - unsigned m_constrainsScrollingToContentEdge : 1; > + unsigned m_scrollClamping : 1; // ScrollClamping > > unsigned m_inLiveResize : 1; These should be regular typed fields instead of bitfields. We don't have enough ScrollAreas for its size to matter. They should then be initialized here instead of constructor. |