On Tuesday, 9 December 2014 at 00:35, Ben Peters wrote:
> Ah, I see what you're saying. I think it's more important to specify how we 'normalize' a given location where there are several possible places that the caret could be in the markup. Say the markup is <div>line <span>1</span></div><p>line 2</p> and the user clicks after the '1'. We should have consistent behavior for placing the caret inside or outside the div, the span, and the other div.
I couldn’t agree more. We certainly need specs for this.
At a first glance it sounded wrong to dirty up the current selection spec with UX changes to it but I feel that it would be totally ok to append a new dedicated section just for that. A pretty big section btw.
> Even more important is that we allow script to modify the location of the caret with script and don't normalize it if they do so.
Yes, please! :D First line of the spec, written in bold, red and <blink> :D