- From: Philip Jägenstedt <notifications@github.com>
- Date: Wed, 08 Mar 2017 19:10:03 -0800
- To: w3c/selection-api <selection-api@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 9 March 2017 03:10:34 UTC
Just as a start, the Web IDL would be something like this:
```WebIDL
void modify(optional DOMString alter,
optional DOMString direction,
optional DOMString granularity);
```
It's a no-op if passed anything other than these strings:
* alter: "extend", "move"
* direction: "forward", "backward", "left", "right"
* granularity: "character", "word", "sentence", "line", "paragraph", "lineboundary", "sentenceboundary", "paragraphboundary", "documentboundary"
Actual behavior, I dunno :)
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/selection-api/issues/37#issuecomment-285242046
Received on Thursday, 9 March 2017 03:10:34 UTC