- From: <bugzilla@jessica.w3.org>
- Date: Thu, 18 Dec 2014 07:44:50 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27650 Arkadiusz Michalski (Spirit) <crimsteam@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |crimsteam@gmail.com --- Comment #1 from Arkadiusz Michalski (Spirit) <crimsteam@gmail.com> --- (In reply to Glen Huang from comment #0) > Since DOM starts to allow multiple nodes to be manipulated in bulk (e.g., > node.before, node.after), does it make sense to allow multiple nodes to be > inserted into a range as well? > For example, range.insertNodes(nodes). This can be done via range.insertNodes(documentFragment). > The before(nodes) method must run these steps: > > 1.If the context object does not have a parent, terminate these steps. > 2.Run the mutation method macro. > 3.Pre-insert node into the context object's parent before the context object. > > Shouldn't step 3 be something like "For each node in nodes ...", node was > never defined in the algorithm. But maybe I missed something. In step 2. we have "mutation method macro" which make DocumentFragment (when we have more than one node) or node, so this is correct. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Thursday, 18 December 2014 07:44:51 UTC