[Bug 18581] pre-insert and replace both check type of 'node' in too many places

https://www.w3.org/Bugs/Public/show_bug.cgi?id=18581

--- Comment #2 from Anne <annevk@annevk.nl> ---
https://github.com/whatwg/dom/commit/b529cfcd4013c4f85785fa62d784a00b4403d9c8

I did not move step 3 up because that would change what exceptions get thrown.

I now think we should maybe collapse the first bit of pre-insert and replace
together so that it's clear it's the same algorithm (there is actually a minor
difference as child cannot be null in replace, but we can point that out).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 28 November 2012 15:50:11 UTC