Limited Availability
DOM
id: move-before
moveBefore()
The
moveBefore() DOM method relocates a node while preserving its state. For example, you can move the active element without losing focus, move an animated element without resetting the animation, or move an iframe without reloading its content.
Baseline Status:
This feature is currently Limited and is missing in at least one major browser engine.
Desktop Browser Engine Support
Google Chrome
133
Supported
Mozilla Firefox
144
Supported
Apple Safari
—
Unsupported
Microsoft Edge
133
Supported
Mobile Browser Engine Support
Chrome Android
133
Firefox Android
144
Safari iOS
—
Specifications and References