As a web developer, I want to know how about the latest DOM method ParentNode.replaceChildren that is now implemented in browsers.
Context why it is cool: https://github.com/whatwg/dom/issues/478
Intent to ship https://groups.google.com/forum/#!topic/mozilla.dev.platform/eZ-UZT6rT5g
The following bugs are dev-doc-complete, BCD is updated, an entry to Firefox release notes is added, experimental features page is updated if needed, and the content has been reviewed as needed.
@chrisdavidmills please estimate. This landed overnight, but looks like it is still in for Firefox 78.
This is a pretty simple method. I reckon 0.5 days at the most.
Note to self - would need to add it as a child page of https://developer.mozilla.org/en-US/docs/Web/API/ParentNode
Ok, documentation done:
ParentNode page: https://wiki.developer.mozilla.org/en-US/docs/Web/API/ParentNodereplaceChildren() added: https://wiki.developer.mozilla.org/en-US/docs/Web/API/ParentNode/replaceChildrenIn a moment, I'll set the bug to DDC.
Thanks Chris!
Most helpful comment
Ok, documentation done:
ParentNodepage: https://wiki.developer.mozilla.org/en-US/docs/Web/API/ParentNodereplaceChildren()added: https://wiki.developer.mozilla.org/en-US/docs/Web/API/ParentNode/replaceChildrenIn a moment, I'll set the bug to DDC.