Skip to content

DOM State-preserving move (Node.prototype.moveBefore) #375

Closed
@noamr

Description

@noamr

WebKittens

@annevk

Title of the spec

DOM: Node.prototype.moveBefore

URL to the spec

https://dom.spec.whatwg.org/

URL to the spec's repository

https://github.com/whatwg/dom

Issue Tracker URL

No response

Explainer URL

https://github.com/noamr/dom/blob/spm-explainer/moveBefore-explainer.md

TAG Design Review URL

w3ctag/design-reviews#976

Mozilla standards-positions issue URL

mozilla/standards-positions#1053

WebKit Bugzilla URL

No response

Radar URL

No response

Description

We're proposing a new DOM primitive, Node.prototype.moveBefore, a drop-in replacement for Node.prototype.insertBefore, that allows moving elements in a node tree without incurring state-resets. See details at the explainer and at whatwg/dom#1255. Would love to shape this together with WebKit + Mozilla.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions