- From: <bugzilla@jessica.w3.org>
- Date: Fri, 15 Feb 2013 15:27:13 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16491 --- Comment #11 from Glenn Maynard <glenn@zewt.org> --- I'd suggest simply mode: "bubble" mode: "capture", replacing the boolean with an enum. If use cases for letting people specify arbitrary phases show up, adding mode: "both" and letting people check eventPhase manually seems cleaner than specifying a set in the listener itself. I'm not sure if it's worth having a dedicated "AT_TARGET only" mode. It doesn't seem so common that we need a shortcut for simply "if(e.eventPhase != Event.AT_TARGET) return". I'm assuming we're only talking about API convenience and not optimizing event dispatch. (And as Anne pointed out on IRC, capture listeners do run on the target :) -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Friday, 15 February 2013 15:27:18 UTC