web-platform-tests / web-platform-tests/interop

`moveBefore()`

Open
#1,355 1 comment 166 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

focus-area-proposal
Dominant language
JavaScript
Stars
524
Forks
35
Avg merge
1d 4h
Merged PRs (30d)
10

Description

Description

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.

Specification

https://dom.spec.whatwg.org/#dom-parentnode-movebefore

web-feature

https://web-platform-dx.github.io/web-features-explorer/features/move-before/

Test Links

https://wpt.fyi/results/dom/nodes/moveBefore

Additional Signals

Chrome/Edge and Firefox already support this API.
WebKit standards position: positive
In last years Interop, this feature received 41 👍.
This tweet received 397 likes.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names the WHATWG DOM specification, the web-features entry, and WPT results under dom/nodes/moveBefore, but no repository files or specific change. Start by reading those references and inspecting the linked test results; the expected implementation and definition of done still need to be established.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.