[Bug 27650] Allow multiple nodes to be inserted to range

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

--- Comment #2 from Glen Huang <hey.hgl@gmail.com> ---
Ah, that macro, I know I missed something. Thank you.

About inserting document fragment into the range, this is exactly what I'm
proposing. Instead of asking users to manually create it, DOM should take care
of it, much like how it provides sugar like node.append, which is just document
fragment + node.appendChild.

In this case, range.insertNodes is sugar for document fragment +
range.insertNode.

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

Received on Thursday, 18 December 2014 07:53:49 UTC