DOM ParentNode + ChildNode method extras: prepend, append (ParentNode) + before, after, and replaceWith (ChildNode)

The DOM standard provides a set of convenience methods for working with DOM Node trees: ParentNode.prepend(), ParentNode.append(), ChildNode.before(), ChildNode.after(), ChildNode.replaceWith(). Removal of the flag is anticipated in Chrome 54.

Documentation

Specification

Established standard

Status in Chromium

Blink


Behind a flag (tracking bug) in:

  • Chrome for desktop release 52
  • Chrome for Android release 52
  • Opera release 39
  • Opera for Android release 39

Consensus & Standardization

  • Shipped
  • No public signals
  • Shipped
  • Positive

Owner

Last updated on 2017-06-14