Bug 199464

Summary: Some layers inside overflow:scroll don't move back to correct positions when the contents are shrunk
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: ScrollingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: koivisto, sam, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Testcase
none
Patch sam: review+

Description Simon Fraser (smfr) 2019-07-03 15:00:30 PDT
Created attachment 373416 [details]
Testcase

Attached test case shows a bug with async scrolling where a content resize fails to scroll the scroller back to the top.
Comment 1 Radar WebKit Bug Importer 2019-07-03 15:01:06 PDT
<rdar://problem/52613285>
Comment 2 Simon Fraser (smfr) 2019-07-03 21:19:51 PDT
It does scroll to the top, but it fails to reposition non-paint-order composited descendants.
Comment 3 Simon Fraser (smfr) 2019-07-03 21:57:07 PDT
Created attachment 373453 [details]
Patch
Comment 4 Simon Fraser (smfr) 2019-07-03 23:30:09 PDT
Comment on attachment 373453 [details]
Patch

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

> Source/WebCore/ChangeLog:3
> +        Some layers inside overflow:scroll move back to correct positions when the contents are shrunk

Title needs fixing.
Comment 5 Simon Fraser (smfr) 2019-07-04 13:35:37 PDT
https://trac.webkit.org/changeset/247142/webkit