[whatwg] disabled and readonly attributes

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