Details
-
Bug
-
Status: Reopened
-
Resolution: Unresolved
-
1.7
-
None
-
None
-
Operating System: Linux
Platform: PC
Description
The DOM specification for mutation events:
http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/events.html#Events-eventgroupings-mutationevents
specifies that the DOMNodeRemovedFromDocument and DOMNodeInsertedIntoDocument
mutation events, unlike the others, should NOT bubble.
However, Batik is bubbling these events.
Example of an event I received in a test program:
event=org.apache.batik.dom.events.DOMMutationEvent@ff45de
target=org.apache.batik.dom.svg.SVGOMSVGElement@6210fb
currentTarget=org.apache.batik.dom.svg.SVGOMGElement@aa37a6 phase=3 bubbles=true
type=DOMNodeRemovedFromDocument
Note that the "target" is different from the "currentTarget" and that
"bubbles=true". Both of these things should not happen for a non-bubbling event.