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

[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

From: <bugzilla@jessica.w3.org>
Date: Tue, 11 Oct 2011 22:55:55 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1RDlEp-00011F-Vf@jessica.w3.org>
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

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