W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > September 2011

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

From: <bugzilla@jessica.w3.org>
Date: Fri, 30 Sep 2011 19:50:59 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1R9j6p-0008Gd-UG@jessica.w3.org>

--- 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:02:04 UTC