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

Right, let's not conflate left/right and next/previous.  Left and right are visual directions while next and previous are logical directions.  Left and right arrow keys may, for example, move caret between lines in vertical writing mode.

Since binding a particular key press to a semantic event is precisely what Responsive Input Events are for, we shouldn't talk in terms of key press here.  We should only talk in terms of semantic events such as moving forward between characters and lines.

Like I mentioned previously, the challenge here is that some caret movements such as of a word boundary depends on implementation-dependent heuristics so we can't precisely define how it works.  So we should focus on how normalization works after caret move instead of trying to define what moving to left/right or forwards/backwards do.

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

Received on Sunday, 14 December 2014 05:20:27 UTC