Re: Events and disabled form controls

On Mon, 9 Jun 2008, Simon Pieters wrote:
> 
> IE and Opera 9.2x don't dispatch user-triggered events like mouse*, key* 
> and *click on disabled form controls. Mozilla, WebKit and Opera 9.5 do. 
> I don't know which behavior is more Web-compatible, but it should be 
> defined which is correct.

The spec says:

# An option element that is disabled must prevent any click events that 
# are queued on the user interaction task source from being dispatched on 
# the element.

...but doesn't say anything else, which I guess defines the rules.

Having said that, we don't actually have a spec that fires these events in 
the first place, so this is somewhat academic right now.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Friday, 7 November 2008 06:12:52 UTC