[whatwg] Text areas with pattern attributes?

Geoffrey Sneddon gsneddon at opera.com
Wed Aug 19 08:32:04 PDT 2009


Alex Vincent wrote:
> I'm drifting into writing code for the pattern attribute on text
> fields again, and I wondered:  if text inputs can have pattern
> attribute for regular expression matching, why not text area elements?

What's the use-case for it? Textareas are almost always for such large 
amounts of input that they are almost always free-form text. Why allow 
the pattern attribute?

-- 
Geoffrey Sneddon — Opera Software
<http://gsnedders.com/>
<http://www.opera.com/>



More information about the whatwg mailing list