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

>  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).

We can make those changes too but I think this is a good first cut. I'll land the WebKit change anyway since that seems like more of an enhancement.

-- 
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-524508574

Received on Saturday, 24 August 2019 02:19:00 UTC