W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2005

[whatwg] [html5] attribute value whitespace handling

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 19 Jul 2005 14:23:19 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0507191422560.1857@dhalsim.dreamhost.com>
On Tue, 19 Jul 2005 fora at annevankesteren.nl wrote:
> > 
> > The form control there would not be valid. There's nothing in either 
> > HTML4 or WF2 that says that leading whitespace on the value="" 
> > attribute should de stripped, as far as I can tell.
> 
> They "may be stripped" and authors should not include them. Still 
> confusing and in need for clarification.
> 
> In two steps:
> 1. <http://www.w3.org/TR/html401/interact/forms.html#adef-value-INPUT>
> 2. <http://www.w3.org/TR/html401/types.html#type-cdata>

Ah indeed, my bad. Yes, this will have to be defined more clearly in 
HTML5.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 19 July 2005 07:23:19 UTC

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