xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42137] New: - Non-bubbling DOM events are bubbling
Date Mon, 16 Apr 2007 22:05:18 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42137>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42137

           Summary: Non-bubbling DOM events are bubbling
           Product: Batik
           Version: 1.7
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: SVG DOM
        AssignedTo: batik-dev@xmlgraphics.apache.org
        ReportedBy: archie@dellroad.org


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.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


Mime
View raw message