Bug 247051

Summary: Null check containingShadowRoot in more places
Product: WebKit Reporter: Rob Buis <rbuis>
Component: CSSAssignee: Rob Buis <rbuis>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Rob Buis 2022-10-26 01:02:10 PDT
Elements can be marked as being in a shadow tree and at the same time
containingShadowRoot can be null (for example when removing/disconnecting
elements), so null check containingShadowRoot in more places.
Comment 1 Rob Buis 2022-10-26 01:03:13 PDT
Created attachment 463247 [details]
Patch
Comment 2 EWS 2022-10-26 03:59:29 PDT
Committed 256005@main (bc488196fd2d): <https://commits.webkit.org/256005@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 463247 [details].
Comment 3 Radar WebKit Bug Importer 2022-10-26 04:00:32 PDT
<rdar://problem/101583435>