[Bug 17706] New: Node.replaceChild(node, child) doesn't check that child is among node's children

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17706
 Summary: Node.replaceChild(node, child) doesn't check that
 child is among node's children
 Product: WebAppsWG
 Version: unspecified
 Platform: All
 OS/Version: All
 Status: NEW
 Severity: normal
 Priority: P2
 Component: DOM
 AssignedTo: annevk@annevk.nl
 ReportedBy: ajvincent@gmail.com
 QAContact: public-webapps-bugzilla@w3.org
 CC: mike@w3.org, www-dom@w3.org
DOM4 Editor's Draft states:
To replace a child with node within a parent, run these steps: 
...
Remove child from its parent with the suppress observers flag set. 
The problem is child's parent may not be the same parent as the insertion
parent. The word "its" in this last sentence makes that possible.
-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Friday, 6 July 2012 05:13:11 UTC

AltStyle によって変換されたページ (->オリジナル) /