Bugfix: computeSourcePositions() could go infinite loop if displayStart == displayEnd == 0
Firefox workaround: We do not select white-space only TextNodes because addRange() crashes for them.