Bug 316098
| Summary: | Add new child change type for moveBefore | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Luke Warlow <lwarlow> |
| Component: | DOM | Assignee: | Luke Warlow <lwarlow> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 26 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 281223 | ||
Luke Warlow
moveBefore ends up triggering the WebKit internal children changed mechanisms which are required for a variety of things. However, some implementations (those defined by the spec children changed steps) shouldn't actually run as part of moveBefore. The main one being ScriptElement's childrenChanged steps which trigger script execution.
To ensure we don't run those we should add new ChildChange type so it doesn't count as an insertion.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Luke Warlow
Pull request: https://github.com/WebKit/WebKit/pull/66362
Radar WebKit Bug Importer
<rdar://problem/179117967>
EWS
Committed 320069@main (0ac697f1a064): <https://commits.webkit.org/320069@main>
Reviewed commits have been landed. Closing PR #66362 and removing active labels.