[Webkit-unassigned] [Bug 174288] New: Capture Event Phase unexpected results with Shadow DOM
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 7 19:44:22 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=174288
Bug ID: 174288
Summary: Capture Event Phase unexpected results with Shadow DOM
Product: WebKit
Version: Safari 10
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Event Handling
Assignee: webkit-unassigned at lists.webkit.org
Reporter: m.stramel89 at gmail.com
Steps to reproduce the problem:
Here are 3 JsFiddles that show the confusion...
Standard DOM: http://jsfiddle.net/stramel/joqqf2qz/2/ (Fires as expected)
Shadow DOM (Nested): http://jsfiddle.net/stramel/4pn4x4j1/ (Fires reverse expected)
Shadow DOM (Slotted): http://jsfiddle.net/stramel/03fum0gc/ (Fires as expected)
What is the expected behavior?
Parent Capture listener should fire before the child capture listener
What went wrong?
Child fires before the parent when using nested elements and Shadow dom
Did this work before? N/A
Does this work in other browsers? Yes
Using the `useCapture` event listener on a child and parent in conjunction with Shadow DOM causes the child to fire before the parent.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170708/754870ce/attachment-0001.html>
More information about the webkit-unassigned
mailing list