Scope removeAllRanges to selection's root.
Changelog entry.
Merge branch 't/11500b'