[whatwg] [html5] attribute value whitespace handling

Anne van Kesteren fora at annevankesteren.nl
Tue Jul 19 02:18:21 PDT 2005


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/>




More information about the whatwg mailing list