Re: [whatwg/dom] Add StaticRange constructor (#778)

Thanks! I wonder if we should make it a bit more friendly. Default `startOffset` to 0 (this can be done in IDL), default `endContainer` to `startContainer`, and default `endOffset` to `endContainer`'s child nodes length (perhaps only if `endContainer` is `startContainer`).

-- 
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/pull/778#issuecomment-524170929

Received on Friday, 23 August 2019 04:49:04 UTC