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 4.10.15.2 (disabled) and 4.10.5.2.3 (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 
section:

   http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#concept-form-submit

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