Select all text via CTRL+A (or triple click). Now type a character or press backspace.


Expected: event.getTargetRanges()[0].startContainer should be equal to window.getSelection().anchorNode
Actual (in Firefox): window.getSelection().anchorNode is the div, while event.getTargetRanges()[0].startContainer is the text node.

Hello world