Bug 269900
| Summary: | Delay creation of InputType and user agent shadow trees during cloning | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
| Component: | Forms | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ryosuke Niwa
Pull request: https://github.com/WebKit/WebKit/pull/24935
EWS
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
<rdar://problem/123465932>