[whatwg/dom] Candidates for AbstractRange (#591)

It seems the following members from `Range` might be suitable to move up to `AbstractRange` so `StaticRange` has them too:

```webidl
  void collapse(optional boolean toStart = false);
  void selectNode(Node node);
  void selectNodeContents(Node node);

  [NewObject] Range cloneRange(); // with s/Range/AbstractRange/
```

The following seems reasonable as well, but would require a substantive change in signature as a `StaticRange` is not guaranteed to have a common ancestor container:

```webidl
  readonly attribute Node commonAncestorContainer; // with s/Node/Node?/
```

cc @rniwa @johanneswilm @bzbarsky @dstorey @garykac

-- 
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/591

Received on Monday, 12 March 2018 10:34:54 UTC