[Webkit-unassigned] [Bug 81564] New: Events do not propagate in disconnected DOM trees

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 19 14:28:53 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=81564

           Summary: Events do not propagate in disconnected DOM trees
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: arv at chromium.org
                CC: ojan at chromium.org, adamk at chromium.org


Given a disconnected DOM tree, we should still do the event propagation.

var parent = document.createElement('div');
var child = document.createElement('div');
parent.addEventListener('foo', function(e) { alert(e)}, true);
var event = document.createEvent('Event');
event.initEvent('foo', true, true);
parent.appendChild(child);
child.dispatchEvent(event)

Opera and FIrefox both alert here.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list