Bug 269900

Summary: Delay creation of InputType and user agent shadow trees during cloning
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: FormsAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Ryosuke Niwa
Reported 2024-02-22 00:30:16 PST
We eagerly construct InputType and user agent shadow tree when cloning an input element. Avoid this work until the element is later inserted into the document to avoid calls to insertedIntoAncestor in the user agent shadow tree.
Attachments
Ryosuke Niwa
Comment 1 2024-02-22 00:45:24 PST
EWS
Comment 2 2024-02-22 13:19:02 PST
Committed 275200@main (f6dbc5c5c725): <https://commits.webkit.org/275200@main> Reviewed commits have been landed. Closing PR #24935 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-02-22 13:20:15 PST
Note You need to log in before you can comment on or make changes to this bug.