DOM event detection

2010-12-21 Thread Robin Winslow
After a brief correspondence with Robin Berjon he suggested I post this suggestion here. After having problems with detecting support for the HTML5 'input' event ( http://goo.gl/XNSg5 http://goo.gl/rAa5f) I started wondering if there was a DOM specification for detecting support for DOM events in

Re: DOM event detection

2010-12-21 Thread Ryan Seddon
It's actually a bug in Firefox[1] which unfortunately been around for a very long time, since 2003, and isn't isolated just on the input event it also affects the invalid event. For detecting events kangax has created a handy method called isEventSupported[2] which will detect 99% of events

Re: DOM event detection

2010-12-21 Thread Robin Winslow
I read Kangax's post, but I hadn't actually seen the tool on github, thanks for that. The way that one would hope Fx might support it is by providing an oninput method on the INPUT element and allowing you to support it that way. However, regardless of whether this is a bug in Fx or not, the