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

Ok, true, maybe that leads us somewhere. Check out this bug report and the example file: https://code.google.com/p/chromium/issues/detail?id=2874 . The bug mentions delete, which this isn't about, but it also has a number of void elements, an inline SVG and a noneditable element across all of which I would suggest should be handled like a single character. 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-65870900

Received on Friday, 5 December 2014 23:25:12 UTC