Should DOMNodeInsertedIntoDocument bubble?
I've always thought that DOMNodeInsertedIntoDocument / DOMNodeRemovedFromDocument events shouldn't bubble, and that's quite effective for me. However, I recently reviewed the spec again and found out that in one place it says that these events should not bubble ( Complete List of Event Types ), while elsewhere it says that they should ( DOMNodeInsertedIntoDocument and DOMNodeRemovedFromDocument ).
I also searched the web and found several implementations, they all differ in the implemented behavior.
The question is: should these events actually bubble up? What do you think makes more sense?
Refresh . Found that there is no ambiguity in the DOM-Level-2-Events specification as it mentions these events in one place.
Update 2 . This question was asked to test the behavior of these events in the Ample SDK Ajax Framework, which aims to implement all standards-based technologies.
source to share