Check shrinked range to get non-editable element if it's the innermost one.
Changelog entry.
Merge branch 't/11042'