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 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:39 UTC