Bug 253776

Summary: Call parentNode() instead of parentOrShadowHostNode() on Node types that cannot be shadow roots
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: DOMAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Chris Dumez 2023-03-11 19:58:16 PST
Call parentNode() instead of parentOrShadowHostNode() on Node types that cannot be shadow roots. This avoids a shadow root check.
Comment 1 Chris Dumez 2023-03-11 20:00:59 PST
Pull request: https://github.com/WebKit/WebKit/pull/11413
Comment 2 EWS 2023-03-13 16:50:17 PDT
Committed 261601@main (9a64c570c29a): <https://commits.webkit.org/261601@main>

Reviewed commits have been landed. Closing PR #11413 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-03-13 16:51:18 PDT
<rdar://problem/106672502>