Bug 216609

Summary: Fixed some corner cases of scrolling
Product: WebKit Reporter: cathiechen <cathiechen>
Component: ScrollingAssignee: cathiechen <cathiechen>
Status: NEW ---    
Severity: Normal CC: ahmad.saleem792, cmarcelo, ews-watchlist, fred.wang, herr.ernst, jamesr, luiz, simon.fraser, tonikitoo, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=216870
https://bugs.webkit.org/show_bug.cgi?id=216875
Attachments:
Description Flags
Patch simon.fraser: review+

Description cathiechen 2020-09-16 07:29:31 PDT
Fixed some corner cases of scrolling.
Comment 1 cathiechen 2020-09-16 07:36:52 PDT
Created attachment 408922 [details]
Patch
Comment 2 cathiechen 2020-09-16 08:33:28 PDT
Hi Simon and Fred,

This patch fixes some corner case I met while implementing scrollend event.
I think it'd good to have a separating bug to fix these for the scrollend patch is getting big now.

Please take a look, thanks:)
Comment 3 Simon Fraser (smfr) 2020-09-16 09:34:25 PDT
Comment on attachment 408922 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=408922&action=review

> Source/WebCore/ChangeLog:3
> +        Fixed some corner cases of scrolling

This is a bit vague. Maybe it indicates that this patch should really be separated.

Are any of these fixes testable?
Comment 4 cathiechen 2020-09-17 00:49:04 PDT
Comment on attachment 408922 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=408922&action=review

Hi Simon,

Thanks for the review:)

>> Source/WebCore/ChangeLog:3
>> +        Fixed some corner cases of scrolling
> 
> This is a bit vague. Maybe it indicates that this patch should really be separated.
> 
> Are any of these fixes testable?

Yeah, I think it's a good idea to split them. These fixes are not very related. I couldn't find a good tile for them.

Regarding the test, maybe we can create one for user scroll interrupt the programmatic scroll animation. Others seem not easy to test, for they only effect the internal state.
Comment 5 Radar WebKit Bug Importer 2020-09-23 07:30:14 PDT
<rdar://problem/69434613>
Comment 6 Ahmad Saleem 2023-02-18 03:27:16 PST
It seems this r+ patch didn’t landed, do we need to fix these issues now?
Comment 7 Simon Fraser (smfr) 2023-02-18 11:46:49 PST
I think we do want these, but the patch needs splitting up, and some tests written.
Comment 8 cathiechen 2023-02-20 04:01:04 PST
Ah, ok, let me take a look at it today:)