W3C home > Mailing lists > Public > www-html-editor@w3.org > July to September 1999

Re: Remarks on the HTML 4.01 Specification

From: Ian Jacobs <ij@w3.org>
Date: Thu, 09 Sep 1999 10:26:25 -0400
Message-ID: <37D7C391.D41F7BD2@w3.org>
To: Steffen Goeldner <sgoeldner@eurodata.de>
CC: www-html-editor@w3.org, w3c-html-wg@w3.org
Steffen Goeldner wrote:
> 
> Remarks on the HTML 4.0 Specification (http://www.w3.org/TR/html40)
> ===================================================================
> 
> 17.4 The INPUT element (interact/forms.html#h-17.4)
> ---------------------------------------------------
> 
> - DTD
> 
>   value CDATA #IMPLIED  -- required for radio and checkboxes --
>                -------     --------

I propose "Specify for radio buttons and checkboxes".

> - Attribute definitions
> 
>   value = cdata [CA]
>         This attribute specifies the initial value of the control.
>         It is optional except when the type attribute has the value
>               --------
>         "radio".
 
> Remark:
> 
>   'IMPLIED', 'required' and 'optional' are still used contradictory
>   ('value' is required for radio  a n d  checkboxes due to the DTD,
>     but    is required for radio  o n l y  due to the Attribute
>     definitions).
>   This could lead to different implementations.
>   The default value 'on' is supplied by IE 4.x and NC 4.x for both
>   control types (checkboxes and radio buttons).

I think the answer is to change the value definition to include
"checkbox" in addition to "radio".

 -  Ian


-- 
Ian Jacobs (jacobs@w3.org)   http://www.w3.org/People/Jacobs
Tel/Fax:                     +1 212 684-1814
Cell:                        +1 917 450-8783
Received on Thursday, 9 September 1999 10:26:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:45 GMT