Bug 197766

Summary: When the scroller hosting a shared layer becomes non-scrollable, content disappears
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: CompositingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 197561    
Attachments:
Description Flags
Testcase
none
Patch none

Description Simon Fraser (smfr) 2019-05-09 21:42:57 PDT
Created attachment 369542 [details]
Testcase

Attached testcase shows a bug where when a scroller becomes non-scrollable, we change the layer configuration in a way that ends up leaving content unpainted.
Comment 1 Radar WebKit Bug Importer 2019-05-11 11:54:27 PDT
<rdar://problem/50695808>
Comment 2 Simon Fraser (smfr) 2019-05-11 11:55:19 PDT
Created attachment 369657 [details]
Patch
Comment 3 zalan 2019-05-11 11:59:45 PDT
Comment on attachment 369657 [details]
Patch

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

> Source/WebCore/ChangeLog:10
> +        its backing store. We always made backing for overlap layers, so even  if the sharing layers

even if (extra whitespace)
Comment 4 WebKit Commit Bot 2019-05-11 13:58:57 PDT
Comment on attachment 369657 [details]
Patch

Clearing flags on attachment: 369657

Committed r245206: <https://trac.webkit.org/changeset/245206>
Comment 5 WebKit Commit Bot 2019-05-11 13:58:59 PDT
All reviewed patches have been landed.  Closing bug.