[whatwg] RFC: <input type="username">
derernst at gmx.ch
Thu May 6 02:51:28 PDT 2010
Am 05.05.2010 23:06 schrieb Schalk Neethling:
> The way I see it is that instead of browsers traversing the DOM looking for
> an input field of either id=username or name=username or even
> class=username, they now only have to look for an input of type username.
> Makes it a lot easier for both developers and browser vendors as they now
> only have to look for an input of type username and gives developers the
> freedom to use any name, id or class.
But in many cases the username is an e-mail address, then you get a
conflict with type="email".
More information about the whatwg