w3c / dom

Moved to https://dom.spec.whatwg.org/
60 stars 18 forks source link

Add DOM childnode methods: prepend(), append(), before(), after() and replaceWith() #156

Closed wolfbeast closed 6 years ago

wolfbeast commented 6 years ago

See: https://dom.spec.whatwg.org/#interface-childnode

This is used in the wild (e.g. lazy loading uses replaceWith regularly). it should be in the DOM spec.

zqzhang commented 6 years ago

This shall have been fixed. See https://w3c.github.io/dom/#interface-childnode

zqzhang commented 6 years ago

By the way, prepend() and append() are specified in https://w3c.github.io/dom/#interface-parentnode

If the current being spec is OK, please close this issue, thanks.

wolfbeast commented 6 years ago

Any time frame when this will become standards track?