DOM State-preserving move (Node.prototype.moveBefore
)
#375
Labels
from: Google
Proposed, edited, or co-edited by Google.
position: support
topic: dom
Spec relates to DOM (Document Object Model)
venue: WHATWG DOM Workstream
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 forNode.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.The text was updated successfully, but these errors were encountered: