Bug 310890

Summary: cloning a node containing an element with a null customElementRegistry does not retain regsitry
Product: WebKit Reporter: Steve Orvell <steveorvell>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: karlcow, rniwa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 154907    

Steve Orvell
Reported 2026-03-27 06:40:33 PDT
1. deep clone an element with registry containing a null registry child 2. check the customElementRegistry of the cloned child. The cloned child should, I think, have a null registry based on https://dom.spec.whatwg.org/#concept-node-clone. See repro: https://codepen.io/editor/Steve-Orvell/pen/019d20b4-8501-7be8-bdee-50ab42b316b0
Attachments
Steve Orvell
Comment 1 2026-03-27 06:41:06 PDT
Radar WebKit Bug Importer
Comment 2 2026-04-03 06:41:11 PDT
Note You need to log in before you can comment on or make changes to this bug.