W3C home > Mailing lists > Public > www-html@w3.org > May 2002

Re: XHTML/XForms limits "preview submission" idiom

From: Jonas Jørgensen <jonasj@jonasj.dk>
Date: Mon, 20 May 2002 17:55:05 +0200
Message-ID: <3CE91C59.2080800@jonasj.dk>
CC: www-html@w3.org
Karl O . Pinc wrote:
> The (X)HTML specification,
> http://www.w3.org/TR/html4/interact/forms.html,
> makes no mention I can find that <input type="file"> should not
> accept a preset value.  If that's the story, the spec should
> be fixed.  I wouldn't have had to go through any of this.

The description of a <input type="file"/>:

"Creates a file select control. User agents may use the value of the 
value attribute as the initial file name."

It's a "may", not a "should" or a "must". In other words, it is 100% 
optional for the user agent whether to accept the initial file name or not.

/Jonas
Received on Monday, 20 May 2002 11:55:08 GMT

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