Re: [whatwg/dom] Range#expand() (#431)

The API surface would be:
```WebIDL
partial interface Range {
  void expand(DOMString unit);
};
```

The `unit` values are "word", "sentence", "block" and "document". Any other values are no-ops. If we really wanted to maybe we could use an enum which would result in an exception instead.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/431#issuecomment-288630490

Received on Thursday, 23 March 2017 06:40:14 UTC