[sent by email to -core first, forwarding to correct list; recommend
using standard list naming, prototype-dev and prototype-user]


Prototype used to support event capture, and this mysteriously
disappeared at some point.  What happened?

Event capture is indispensable for some things.  It doesn't work in IE
(except IE9, finally), but that doesn't explain not supporting it at
all.

For example, I use it to track which element has focus by capturing
document onfocus.  The event doesn't bubble, so it has to be done
during capture.  That doesn't work in IE, so I use focusin there
instead; since it bubbles it doesn't need capturing.

I've also used it a lot for dealing with touchscreen events, where I
want to capture and modify them before they're passed along to higher-
level observers.  IE is irrelevant here.

I work around the problem by going back to using addEventListener
manually, but that loses a lot of functionality, and it's a much
bigger pain now since I lose all of Element#on.  Event capture is an
important part of DOM event handling; where did it go?

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to