moveDownNode method
Moves node
down in the children list.
Implementation
bool moveDownNode(DOMNode node) {
if (isEmptyContent) return false;
var idx = indexOfNodeIdenticalFirst(node);
if (idx < 0) return false;
if (idx >= _content!.length - 1) return true;
_content!.removeAt(idx);
var idxDown =
_contentFromIndexForwardWhere(idx, 1, (node) => node is DOMElement);
if (idxDown < 0) {
idxDown = _content!.length;
}
_content!.insert(idxDown, node);
node.parent = this;
return true;
}