Issue #2225 - Implement Element.replaceChildren

This accounts for refactoring changes (e.g. avoids RemoveChild*
changes).

Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=1626015
This commit is contained in:
FranklinDM 2023-05-01 20:50:50 +08:00 committed by roytam1
commit ae50e9e01d
3 changed files with 37 additions and 0 deletions

View file

@ -22,4 +22,6 @@ interface ParentNode {
void prepend((Node or DOMString)... nodes);
[CEReactions, Throws, Unscopable]
void append((Node or DOMString)... nodes);
[CEReactions, Throws, Unscopable]
void replaceChildren((Node or DOMString)... nodes);
};