Bug 231140

Summary: Use ScrollClamping in more places in scrolling code
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: ScrollingAssignee: 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 Flags
Patch koivisto: review+

Simon Fraser (smfr)
Reported 2021-10-03 11:41:36 PDT
Use ScrollClamping in more places in scrolling code
Attachments
Patch (19.54 KB, patch)
2021-10-03 11:43 PDT, Simon Fraser (smfr)
koivisto: review+
Simon Fraser (smfr)
Comment 1 2021-10-03 11:43:10 PDT
Antti Koivisto
Comment 2 2021-10-04 10:42:55 PDT
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.
Simon Fraser (smfr)
Comment 3 2021-10-04 16:38:36 PDT
Radar WebKit Bug Importer
Comment 4 2021-10-04 16:39:46 PDT
Note You need to log in before you can comment on or make changes to this bug.