[Bug 13769] WF3: Add trim="" attribute to <textarea>, <input type=text/search>, <form>, and <fieldset> (applying to all contained fields of appropriate types) that strips leading and trailing whitespace from the value

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

--- Comment #30 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-10-11 22:55:53 UTC ---
Regarding textarea, I fear people would use it inappropriately, so it would be
a problem. For example, one could imagine this very textarea I'm using right
now being marked trim="", since most of the time that makes sense. But if I had
started this comment with some indented code, it would break the first line's
indentation.

I could see an argument for trimming just leading and trailing newlines, rather
than newlines and spaces; what do you think?


For the fieldset case, do you have an example of a Web page that groups
controls in this way? I don't want to add it to fieldset unless it's clear that
authors really are using fieldset in this way, otherwise it's just bloat.

-- 
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 Tuesday, 11 October 2011 22:56:01 UTC