A broken tree structure after `.innerText = ''`. A div element has its parent element when the parent element has no child, thus returns -1.
Bug 1601416 Comment 2 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
A broken tree structure during `.innerText = ''`. A div element has its parent element when the parent element has no child, thus returns -1. Edit: Somehow the child is alive in focus ref while already removed from the parent.