Bug 253776 - Call parentNode() instead of parentOrShadowHostNode() on Node types that cannot be shadow roots
Summary: Call parentNode() instead of parentOrShadowHostNode() on Node types that cann...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-11 19:58 PST by Chris Dumez
Modified: 2023-03-13 16:51 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>