Bug 276451

Summary: RenderLayer::collectLayers uses compositing state which isn't valid yet
Product: WebKit Reporter: Matt Woodrow <mattwoodrow>
Component: Layout and RenderingAssignee: Matt Woodrow <mattwoodrow>
Status: RESOLVED FIXED    
Severity: Normal CC: ahmad.saleem792, bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Matt Woodrow
Reported 2024-07-10 15:01:02 PDT
RenderLayer::collectLayers decides whether to include layers inside visibility:hidden based on `compositor().usesCompositing()`, which isn't (guaranteed to be) computed until after compositing layers have been decided. If the compositing state does change, nothing invalidates the RenderLayer z-order lists, so we can remain in this unexpected state.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-07-10 15:01:21 PDT
Matt Woodrow
Comment 2 2024-07-10 15:08:46 PDT
Ahmad Saleem
Comment 3 2024-07-12 13:04:10 PDT
*** Bug 250283 has been marked as a duplicate of this bug. ***
EWS
Comment 4 2024-07-12 13:18:03 PDT
Committed 280917@main (4599e0a66d9d): <https://commits.webkit.org/280917@main> Reviewed commits have been landed. Closing PR #30666 and removing active labels.
EWS
Comment 5 2024-07-24 12:43:51 PDT
Committed 280938.113@safari-7619-branch (d2b834fc70aa): <https://commits.webkit.org/280938.113@safari-7619-branch> Reviewed commits have been landed. Closing PR #1480 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.