Bug 216609 - Fixed some corner cases of scrolling
Summary: Fixed some corner cases of scrolling
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: cathiechen
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-09-16 07:29 PDT by cathiechen
Modified: 2023-07-31 07:01 PDT (History)
10 users (show)

See Also:


Attachments
Patch (5.66 KB, patch)
2020-09-16 07:36 PDT, cathiechen
simon.fraser: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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:)