When an event bubbles up from an assigned node to its assigned slot, we shouldn't be adjusting event.target to point to the slot. Since a shadow tree should have access to nodes outside the shadow tree, event.target should be accessible inside the shadow tree of such a slot.
Created attachment 278154 [details] Fixes the bug
Comment on attachment 278154 [details] Fixes the bug r=me, nice that this behavior change simplifies the logic.
Please fix build with shadow DOM disabled before landing.
Created attachment 278167 [details] Patch for landing
Comment on attachment 278167 [details] Patch for landing Wait for EWS.
Created attachment 278169 [details] Patch for landing
Created attachment 278172 [details] Patch for landing
Comment on attachment 278172 [details] Patch for landing Clearing flags on attachment: 278172 Committed r200464: <http://trac.webkit.org/changeset/200464>
All reviewed patches have been landed. Closing bug.
<rdar://problem/26123016>
iOS build fixes: https://trac.webkit.org/changeset/200477 https://trac.webkit.org/changeset/200478