[whatwg] [html5] attribute value whitespace handling

What kind of input type is the following according to HTML 5:

 <input type="   email
">

According to the attribute value rules of HTML 4 it should be 'email', but I'm
not sure how that is implemented at the moment. Similar question for:

 <input type="email" value="    example at example.org
    ">

... valid or invalid?

As Web Forms 2 extends on HTML 4 at the moment this is not particularly clear
and it would be nice to know.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>

Received on Tuesday, 19 July 2005 02:18:21 UTC