Re: A question about Range#insertNode

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