Add tests for empty root nodes
Add tests for empty root nodes

Add tests to clarify the expected behavior when the root node is empty
or consists only of an empty text node.

tilgovi/dom-anchor-text-position