W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2004

[whatwg] (no subject)

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 17 Aug 2004 23:00:16 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0408172258550.22355@dhalsim.dreamhost.com>
On Mon, 19 Jul 2004, Malcolm Rowe wrote:
> "The required attribute applies to all form controls except controls with the
> type hidden, image inputs, buttons, and select, fieldset, and output elements.
> It can be used on controls with the readonly attribute set; this may be useful
> in scripted environments. For disabled controls, the attribute has no effect."
> -- http://whatwg.org/specs/web-forms/current-work/#required 
> However, at http://whatwg.org/specs/web-forms/current-work/#summary, the only
> controls that can have the 'required' attribute are: text, password, file,
> datetime, datetime-local, date, month, week, time, number, range, email, uri. 
> * 'checkbox' and 'radio' should definitely be marked as 'Yes' in the table. 

Oops. Fixed.

> I also think that the original paragraph should be clarified; I had trouble
> understanding whether 'buttons' in the original text referred to 'button-like
> controls' or 'the <button> control' (does 'move-up' need to be implemented as
> a 'button'?). 

Added a parenthetical remark.

> Would it be easier to make it an inclusive list? 

It probably would be no harder. The question is whether new controls that 
are added later are more likely to have required="" apply to them or not.

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

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