BASELINE NowYouCanUse.com
Limited Availability DOM

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 (not yet Baseline). Latest engine implementation shipped on Oct 14, 2025.
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
id: move-before