begin="click" wfm but end="blur" broken
Created attachment 60106 [details] testcase
http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-28216144 IIRC blur() should not behave like focusout (but just for the element itself, not its childs). So I'm unsure if this test is correct. I mean you can listen for the event blur. But it still needs to get triggered. You never call element.blur().
wfm Opera, if not blur what is the equivalent to blur for the mouse user? There still remains much confusion where mouse and keyboard are used to navigate together. consider this was not in the spec. may need to clarify with WG?
(In reply to comment #3) > wfm Opera, > > if not blur what is the equivalent to blur for the mouse user? Do you want something like 'mouseout'? You can add more than one event to 'end'. > > There still remains much confusion where mouse and keyboard are used to navigate together. > consider this was not in the spec. > > may need to clarify with WG? Definitely a good place to clarify confusions. My understanding of blur is, that if an element gets a focus, it will get removed immediately. So it has more an active role, but can of course get observed by an eventListener. So if you set blur() to an element and end any animation on firing this event, you shouldn't see the animation at all (in the case of 'click' for 'begin').
(In reply to comment #4) > (In reply to comment #3) > > wfm Opera, > > > > if not blur what is the equivalent to blur for the mouse user? > Do you want something like 'mouseout'? You can add more than one event to 'end'. > > > > > There still remains much confusion where mouse and keyboard are used to navigate together. > > consider this was not in the spec. > > > > may need to clarify with WG? > Definitely a good place to clarify confusions. My understanding of blur is, that if an element gets a focus, it will get removed immediately. So it has more an active role, but can of course get observed by an eventListener. So if you set blur() to an element and end any animation on firing this event, you shouldn't see the animation at all (in the case of 'click' for 'begin'). Looks like I mixed up 'blur()' and 'onblur', sorry. So your test seems to be correct. If an element looses focus, the event 'blur' should trigger.
*** This bug has been marked as a duplicate of bug 63551 ***