W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2009

[whatwg] Text areas with pattern attributes?

From: Geoffrey Sneddon <gsneddon@opera.com>
Date: Wed, 19 Aug 2009 17:32:04 +0200
Message-ID: <4A8C1AF4.2040304@opera.com>
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
Received on Wednesday, 19 August 2009 08:32:04 UTC

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