Bug 18941 - Would be great if "nodes are inserted" was invoked once for each node
Summary: Would be great if "nodes are inserted" was invoked once for each node
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: DOM (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Anne
QA Contact: public-webapps-bugzilla
Depends on:
Blocks: 17880
  Show dependency treegraph
Reported: 2012-09-20 19:56 UTC by Ian 'Hixie' Hickson
Modified: 2012-09-21 09:52 UTC (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ian 'Hixie' Hickson 2012-09-20 19:56:09 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.)
Comment 1 Anne 2012-09-21 09:52:42 UTC
Since I added this for the script stuff it's no problem to make it work in a way that's easier for you :-)