Contact emails
Spec
https://dom.spec.whatwg.org/#dom-childnode-before
Summary
Add ChildNode.before() API.
Motivation
This will allow a web developer to insert a set of Node or DOMString objects in the children list of this ChildNode's parent, just before this ChildNode.DOMString objects are inserted as equivalent Text nodes. We can use Node.insertBefore() but it can be used for single node only. No direct way for
inserting a set of children.
Compatibility Risk
Low, As other browsers are also implementing it.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
OWP launch tracking bug?
None.
FireFox: Not SupportedSafari: Not SupportedIE: Not Supported
Motivation
This will allow a web developer to insert a set of
NodeorDOMStringobjects in the children list of thisChildNode's parent, just before thisChildNode.DOMStringobjects are inserted as equivalentTextnodes. We can use Node.insertBefore() but it can be used for single node only. No direct way forinserting a set of children.
Do any other browsers have this yet?
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.