W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2005

[whatwg] Comment about WF2 and the readonly attribute restriction

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 21 Apr 2005 10:03:21 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0504211001240.24720@dhalsim.dreamhost.com>
On Wed, 20 Apr 2005, Frederic Simard wrote:
> I have some concern about restriction on the
> applicability of the readonly attribute on some of the
> form elements. The readonly attribute should be
> applicable to all form elements that can change. This
> means that the elements that should not support the
> readonly attribute is the output and button elements.
> I do not see good reasons to not support readonly
> attributes on checkbox, radio and select elements.

>From a UI point of view, there simply is no concept of a "readonly" 
checkbox, radio, or select element (try to find an example in your 
operating system to see what I mean). What you want is <output>.

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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:40 UTC