Bug 199464 - Some layers inside overflow:scroll don't move back to correct positions when the contents are shrunk
Summary: Some layers inside overflow:scroll don't move back to correct positions when ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-07-03 15:00 PDT by Simon Fraser (smfr)
Modified: 2019-07-04 13:35 PDT (History)
5 users (show)

See Also:


Attachments
Testcase (1.30 KB, text/html)
2019-07-03 15:00 PDT, Simon Fraser (smfr)
no flags Details
Patch (5.34 KB, patch)
2019-07-03 21:57 PDT, Simon Fraser (smfr)
sam: review+
Details | Formatted Diff | Diff

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