W3C home > Mailing lists > Public > public-html@w3.org > November 2008

Re: Events and disabled form controls

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 7 Nov 2008 06:11:47 +0000 (UTC)
To: Simon Pieters <simonp@opera.com>
Cc: "public-html@w3.org" <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0811070545170.1237@hixie.dreamhostps.com>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:24 GMT