- From: Ian Hickson <ian@hixie.ch>
- Date: Wed, 20 Aug 2008 01:20:59 +0000 (UTC)
On Thu, 28 Feb 2008, WeBMartians wrote: > > Fumbling around in the document, I came across the description of when > the mouseout event is bubbled. What I did not see is anything about > mouseouts after mousedowns but before mouseups. I understand why such > text is missing - the combinations are nearly astronomical. However, I > tried the following: > > <img ... onmousedown="this.src='down.gif';" onmouseout="this.src='out.gif';" onmouseup="this.src='up.gif';" ... > > Firefox2 (Windows) reports the mouseout only if it is not immediately preceded by a mousedown. > IE7 produces/handles the mouseout event whether or not a mousedown has occurred. > I have not tried Opera or Safari. > > Am I having yet another case of "male pattern blindness" (as my spouse > calls it) and there is text specifying that successive mouse (and > keyboard) events are to be handled? Or is there no such text and adding > would it be a task of such magnitude that WHATWG should not even try? Right now the HTML5 spec doesn't define how any input events are handled. I'm hoping this is something that the DOM3 Events specification will define. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 19 August 2008 18:20:59 UTC