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

Rob Buis
Reported 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.
Attachments
Patch (3.12 KB, patch)
2022-10-26 01:03 PDT, Rob Buis
no flags
Rob Buis
Comment 1 2022-10-26 01:03:13 PDT
EWS
Comment 2 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].
Radar WebKit Bug Importer
Comment 3 2022-10-26 04:00:32 PDT
Note You need to log in before you can comment on or make changes to this bug.