http://gwt-code-reviews.appspot.com/1550803/diff/1/user/src/com/google/gwt/dom/client/BrowserEvents.java File user/src/com/google/gwt/dom/client/BrowserEvents.java (right):
http://gwt-code-reviews.appspot.com/1550803/diff/1/user/src/com/google/gwt/dom/client/BrowserEvents.java#newcode39 user/src/com/google/gwt/dom/client/BrowserEvents.java:39: public static final String FOCUSIN = "focusin"; On 2011/09/19 14:26:41, jlabanca wrote:
focusin is not part of any standard
Actually, they're being standardized in DOM3-Events: http://www.w3.org/TR/DOM-Level-3-Events/#event-type-focusIn
and is only used in IE.
According to PPK, all browsers but Firefox fires them (but WebKit doesn't support the onfocusin and onfocusout event handlers): http://www.quirksmode.org/dom/events/blurfocus.html#t06 The problem is: they weren't supported outside IE not so long ago, but there's a gap in PPK's tests, so we won't know at which point WebKit and Opera added support for them, unless we conduct tests ourselves: http://web.archive.org/web/20110624124152/http://quirksmode.org/dom/events/blurfocus.html
I used it in CellWidgets because it is the equivalent of focus, but it bubbles so
we can
catch it at a top level element. I suggest removing it from this
list. Given that they'll be standardized, and that browsers are adding support for them, I'd rather vote to keep them in. It's not much different from DnD, touch events or gestures not being supported everywhere either. http://gwt-code-reviews.appspot.com/1550803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
