[Bug 13769] Whitespace-only values should be considered empty in required form fields

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13769

--- Comment #15 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-09-30 19:50:57 UTC ---
You can insert Unicode bidi formatting characters pretty easily in Windows
builds with bidi enabled (it's in the context menu for the text field). Should
we trim those too? (That would break many Arabic use cases, amongst others.)

Special-casing " " here seems really weird to me. It makes the API more
magical, which makes it less understandable.

If your server is willing to accept what looks like invisible input such as
control characters, or barely-visible input like ".", then it's not at all
clear to me why a single space would be any different.

This is what pattern="" is _made_ for.

-- 
Configure bugmail: http://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 Friday, 30 September 2011 19:51:05 UTC