Bug 261016 - Add mutation events tests for ContainerNode::replaceChildren and refactor the code
Summary: Add mutation events tests for ContainerNode::replaceChildren and refactor the...
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords: InRadar
Depends on: 261766
Blocks:
  Show dependency treegraph
 
Reported: 2023-08-31 22:47 PDT by Ryosuke Niwa
Modified: 2023-09-25 08:49 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2023-08-31 22:47:28 PDT
ContainerNode::replaceChildren creates a dummy DocumentFragment during its course of child node replacement logic.
Avoid this unnecessary work.
Comment 1 Ryosuke Niwa 2023-08-31 22:53:25 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17328
Comment 2 Radar WebKit Bug Importer 2023-09-01 00:14:17 PDT
<rdar://problem/114809376>
Comment 3 EWS 2023-09-01 16:13:17 PDT
Committed 267565@main (c177199a72c0): <https://commits.webkit.org/267565@main>

Reviewed commits have been landed. Closing PR #17328 and removing active labels.
Comment 4 WebKit Commit Bot 2023-09-19 12:54:18 PDT
Re-opened since this is blocked by bug 261766