Bug 203112

Summary: A combination of scrolling and a content change can leave a fixed layer in the wrong place
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: ScrollingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Simon Fraser (smfr)
Reported 2019-10-17 10:51:25 PDT
The patch in bug 196612 changes scrollingcoordinator/ios/ui-scroll-fixed.html to avoid this bug, but we should fix the underlying bug too. The bug is that a UI scroll can cause an offset to be applied to a CALayer in the UI process, but the combination of a content change and the scroll means that the GraphicsLayerCA ends up with the same position it had before. When that layer+scrolling tree is committed, nothing fixes up the CALayer position in the UI process. We can also leave a wrong "approximate position" on the GraphicsLayer in this situation.
Attachments
Note You need to log in before you can comment on or make changes to this bug.