W3C home > Mailing lists > Public > www-archive@w3.org > July 2015

Re: A question about Range#insertNode

From: Anne van Kesteren <annevk@annevk.nl>
Date: Sun, 12 Jul 2015 09:18:38 +0200
Message-ID: <CADnb78hmc-2Q5xhMuBLmzWGSRV=KeDmpLKd4kujzcH_dBAH5hg@mail.gmail.com>
To: Aryeh Gregor <ayg@aryeh.name>
Cc: Ms2ger <ms2ger@gmail.com>, www-archive <www-archive@w3.org>
On Thu, Jul 9, 2015 at 4:56 PM, Anne van Kesteren <annevk@annevk.nl> wrote:
> On Wed, Jul 8, 2015 at 1:02 PM, Aryeh Gregor <ayg@aryeh.name> wrote:
>> Looks like you're correct, that bit should be removed.  If you update
>> the test to match the new algorithm (assuming I wrote a test for it,
>> I'm pretty sure I did) and it doesn't change which browsers pass, then
>> we could be extra super sure.  :)
>
> It seems there's already quite some divergence between your reference
> implementation and the specification :-/ Though when I removed the
> line about throwing for detached ranges, nothing broke...

I have updated the specification meanwhile, still unsure about what
would have to be changed to the test:

https://github.com/whatwg/dom/commit/4c0fb2a7c2d80d34e931f1ffd9fe85b18ab5a49c


-- 
https://annevankesteren.nl/
Received on Sunday, 12 July 2015 07:19:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:35:20 UTC