You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The moveBefore() function moves elements within the DOM without losing various states, such as animation and transition state, :focus, open/close state of popovers, and <iframe> loading state.
Reacted by John P. Green, Nilesh Prajapati, Jeff Hitchcock, jack, CuriousMissFox , Westbrook Johnson, Jayden Pearse, Owen Buckley, MaxwellCohen, nilaallj and 127 more
Reacted by jack, Westbrook Johnson, Jayden Pearse, Felix Icaza, phantomxx29474, Sébastien Lorber, Mehdi, Lucas Genzelis, Artur Bień, Ivica Batinić and 11 more
Reacted by jack, Westbrook Johnson, Jayden Pearse, Owen Buckley, Felix Icaza, phantomxx29474, Sébastien Lorber, Mehdi, Lucas Genzelis, Yoonji Jang and 8 more
Reacted by Owen Buckley, phantomxx29474, Felix Icaza, Sébastien Lorber, Mehdi, Ivica Batinić, Igor Bedesqui, Kirill Zyusko and Aftab Parvez
This comment was automatically generated based on the information you provided. Please don't edit it.
Below is additional information about the web feature (from the web-features project) which is referenced in your proposal.
If this doesn't accurately correspond to your proposal, please update your initial comment to include web-features: <feature-id>.
To find feature IDs, use the web-features explorer.
Feature moveBefore()
ID: move-before
Name: moveBefore()
Description: 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.
Activity
github-actions commentedon Sep 3, 2026
This comment was automatically generated based on the information you provided. Please don't edit it.
Below is additional information about the web feature (from the web-features project) which is referenced in your proposal.
If this doesn't accurately correspond to your proposal, please update your initial comment to include
web-features: <feature-id>.To find feature IDs, use the web-features explorer.
Feature moveBefore()
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.smaug---- commentedon Nov 5, 2026
Some WPTs are testing chromium internal behavior. Those must be out, for example https://github.com/web-platform-tests/wpt/blob/master/dom/nodes/moveBefore/selection-preserve.html#L37