W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2010

[whatwg] RFC: <input type="username">

From: Markus Ernst <derernst@gmx.ch>
Date: Thu, 06 May 2010 11:51:28 +0200
Message-ID: <4BE29120.70800@gmx.ch>
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".
Received on Thursday, 6 May 2010 02:51:28 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:23 UTC