[whatwg] Keywords for the pattern attribute [was: RFC: <input type="username">]

Eitan Adler eitanadlerlist at gmail.com
Thu May 6 10:01:58 PDT 2010

> <input type="text" pattern="email">
> <input type="username" pattern="email">

What if for some strange reason I wanted to only allow the text
e-m-a-i-l ? There would have to be some way to differentiate between a
keyword and a normal pattern.

More information about the whatwg mailing list