[Bug 15291] Allow textarea@pattern (input@pattern is specced already so why not)

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15291

--- Comment #4 from Mathias Bynens <mathias@qiwi.be> 2012-02-15 20:02:47 UTC ---
Pardon my ignorance, but what’s the harm in adding `textarea@pattern`? Several
valid use cases have been presented in comment #1 and comment #2.

FWIW, I just ran into some more cases where `textarea@pattern` would’ve been
very welcome:

* validating binary input in groups of 8 bits: `pattern="([01]{8})*"`
* extended ASCII input: `pattern="[\x00-\xff]*"`

I needed these for a purely client-side web app:
http://mothereff.in/binary-ascii I ended up manually validating the value
through JavaScript, adding `class=invalid` to <textarea>s with invalid input.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 15 February 2012 20:02:53 UTC