[Webkit-unassigned] [Bug 112214] New: [Shadow Dom]: Non Bubbling events in ShadowDOM do not honor stopPropgation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 12 17:26:47 PDT 2013


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

           Summary: [Shadow Dom]: Non Bubbling events in ShadowDOM do not
                    honor stopPropgation
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: http://jsfiddle.net/dfreedm/3SAxy/
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Event Handling
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dfreedm at chromium.org
                CC: dglazkov at chromium.org, hayato at chromium.org


In the demo shown, a Custom Event is created in the shadow dom that is bubbles: false. The event is dispatched to first child in the shadow, which sets the stop propagation flag. The host event listener fires afterwards.
This seems to be incorrect according to step 8 of http://dom.spec.whatwg.org/#concept-event-dispatch.

If the CustomEvent has bubbles: true, the event listener on host does not fire.

-- 
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