Bugzilla – Bug 18941
Would be great if "nodes are inserted" was invoked once for each node
Last modified: 2012-09-21 09:52:42 UTC
It would make my life easier in the HTML spec if there was a hook that fired for each node that is inserted when a whole subtree or doc fragment is inserted, in a defined order. Currently there's just a "nodes are inserted" hook which is a bit vague about which nodes and so forth.
(FYI I plan to execute script on this hook.)
Since I added this for the script stuff it's no problem to make it work in a way that's easier for you :-)