This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
As discussed at various points in the WHATWG, the user shouldn't be allowed to create arbitrary selections. I have to define exactly what selections are allowed, and say when the selection needs to be normalized accordingly.
Example raised by John Bilicki III (http://www.jabcreations.com/) in private e-mail: if you have something like <span>foo</span><span>bar</span>, it should never be possible for the start of a selection to be at (foo, 3), nor the end to be at (bar, 0), except if the selection is collapsed.