W3C home > Mailing lists > Public > public-html-commits@w3.org > July 2009

html5/spec Overview.html,1.2706,1.2707

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 31 Jul 2009 01:28:51 +0000
To: public-html-commits@w3.org
Message-Id: <E1MWgvT-0003yu-Js@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv15290

Modified Files:
	Overview.html 
Log Message:
Mention explicitly that type=tel isn't format-checked. (whatwg r3509)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2706
retrieving revision 1.2707
diff -u -d -r1.2706 -r1.2707
--- Overview.html	31 Jul 2009 01:23:57 -0000	1.2706
+++ Overview.html	31 Jul 2009 01:28:48 -0000	1.2707
@@ -27317,7 +27317,12 @@
   <p><strong>The <a href="#value-sanitization-algorithm">value sanitization algorithm</a> is as
   follows</strong>: <a href="#strip-line-breaks">Strip line breaks</a> from the <a href="#concept-fe-value" title="concept-fe-value">value</a>.</p>
 
-  </div><div class="bookkeeping impl">
+  </div><p class="note">Unlike the <a href="#url-state" title="attr-input-type-url">URL</a> and <a href="#e-mail-state" title="attr-input-type-email">E-mail</a> types, the <a href="#telephone-state" title="attr-input-type-tel">Telephone</a> type does not enforce a
+  particular syntax. This is intentional; in practice, telephone
+  number fields tend to be free-form fields, because there are a wide
+  variety of valid phone numbers. Systems that need to enforce a
+  particular format are encouraged to use the <code title="dom-cva-setCustomValidity"><a href="#dom-cva-setcustomvalidity">setCustomValidity()</a></code> method
+  to hook into the client-side validation mechanism.<div class="bookkeeping impl">
 
    <p>The following common <code><a href="#the-input-element">input</a></code> element content
    attributes, DOM attributes, and methods apply to the element:
Received on Friday, 31 July 2009 01:29:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 31 July 2009 01:29:01 GMT