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: Thu, 9 Jul 2015 16:56:21 +0200
Message-ID: <CADnb78ihddOL2f9QbOdaEfvEZkOfgSrvUa4zCgTD8jJ5Rm9tyw@mail.gmail.com>
To: Aryeh Gregor <ayg@aryeh.name>
Cc: Ms2ger <ms2ger@gmail.com>, www-archive <www-archive@w3.org>
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...


-- 
https://annevankesteren.nl/
Received on Thursday, 9 July 2015 14:56:45 UTC

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