Fire capture before bubble handlers at target
Before this patch, event handlers registered at the target of the event, which get fired during the AT_TARGET event phase, get fired in order of when they are registered without any regard for which handlers are capture and which ones are bubble. This patch fires all capture handlers before bubble handlers during the AT_TARGET event phase. WebKit implemented the same behavior here: https://trac.webkit.org/changeset/236002/webkit I2S: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/blink-dev/30jv38uD_84 Fixed: 1052152 Change-Id: I87752225dbcef7d07fccf9a6999711bdf5fbad20 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2581814 Commit-Queue: Joey Arhar <jarhar@chromium.org> Reviewed-by:Mason Freed <masonfreed@chromium.org> Cr-Commit-Position: refs/heads/master@{#838108}
Showing
Please register or sign in to comment