W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2009

[whatwg] disabled and readonly attributes

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 14 Oct 2009 00:16:06 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0910140011530.25383@hixie.dreamhostps.com>
On Tue, 13 Oct 2009, Markus Ernst wrote:
> In (disabled) and (readonly) I can't find out what UAs
> should submit if an element is disabled resp. readonly [...]

To see what should be submitted, you should look in the form submission 


Specifically, under "Constructing the form data set".

> Also, <fieldset> has a disabled attribute, but no readonly attribute. Is 
> there a reason for this?

I didn't want people to try setting readonly on a fieldset and forgetting 
that readonly only affects a few controls and not, e.g., buttons.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 13 October 2009 17:16:06 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:18 UTC