[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 #3 from Aryeh Gregor <ayg@aryeh.name> 2011-08-15 18:56:51 UTC ---
(In reply to comment #2)
> (In reply to comment #1)
> > Maybe instead we should have a new feature <input trim>.
> 
> Sounds a good idea if the attribute doesn't apply to type=password and interact
> directly with the value sanitization algorithm.

I don't see why it shouldn't apply to type=password.  vBulletin, for instance,
trims password fields.  It's useful to do so if the user copy-pastes a
password, like from a password reset e-mail, and accidentally gets a leading or
trailing space.  It may or may not be ideal, but it shouldn't be prohibited.

-- 
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 Monday, 15 August 2011 18:56:53 UTC