- From: <bugzilla@jessica.w3.org>
- Date: Sat, 01 Oct 2011 21:17:28 +0000
- To: public-html-bugzilla@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13769
--- Comment #20 from Marat Tanalin | tanalin.com <mtanalin@yandex.ru> 2011-10-01 21:17:25 UTC ---
(In reply to comment #19)
See comment 11.
By the way, it maybe could be more flexible (and therefore more feasible for
the editor to accept) to add new 'trim' boolean attribute -- as Anne has
proposed in comment 1.
This could have benefits for both sides:
1. default definition of 'required' state keeps simple as it is currently;
2. when needed (in fact, always), web-developers could automatically add trim
attribute to all required fields by using trivial JavaScript like this:
[].slice.call(document.querySelectorAll('[required]'), 0).forEach(function() {
this.trim = true;
});
--
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 Saturday, 1 October 2011 21:17:30 UTC