Re: [selection-api] caret-based selection movement (#27)

Ok, true, maybe that leads us somewhere. Check out this example: https://bug873883.bugzilla.mozilla.org/attachment.cgi?id=751510 . All of the elements there should be handled as single characters: SVGs, void elements such as canvas elements, a noneditable element. The possible exception: 
```<div contenteditable=true>Hello |<span contenteditable=false>Aus<span contenteditable=true>tr</span>ia</span>!</div>```

What should happen when hitting the right arrow?

```<div contenteditable=true>Hello <span contenteditable=false>Aus<span contenteditable=true>tr</span>ia</span>|!</div>```

or

```<div contenteditable=true>Hello <span contenteditable=false>Aus<span contenteditable=true>|tr</span>ia</span>!</div>```

?

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/selection-api/issues/27#issuecomment-65907800

Received on Saturday, 6 December 2014 18:11:07 UTC