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: Wed, 12 Oct 2011 23:05:58 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1RE7s6-0000sm-8i@jessica.w3.org>

--- Comment #35 from Marat Tanalin | tanalin.com <mtanalin@yandex.ru> 2011-10-12 23:05:57 UTC ---
(In reply to comment #33)

> Why do we want to add trim to
> the form element? Do we have obvious use cases? How many elements in a form
> would usually require the trim attribute? Only text field seem to have a real
> need of it.

Any feedback form. Feedback forms are often consist of text fields only. And
also often, all fields in feedback forms are required.

'trim' attribute is purely subordinate feature as to 'required' attribute which
is primary one (see comment 34).

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 Wednesday, 12 October 2011 23:06:00 UTC

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