W3C home > Mailing lists > Public > public-webapps-bugzilla@w3.org > November 2012

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 28 Nov 2012 15:50:06 +0000
To: public-webapps-bugzilla@w3.org
Message-ID: <bug-18581-2532-gmCNB31yob@http.www.w3.org/Bugs/Public/>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 28 November 2012 15:50:11 GMT