hixie: Mention explicitly that type=tel isn't format-checked. (whatwg r3509)

hixie: Mention explicitly that type=tel isn't format-checked. (whatwg
r3509)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2706&r2=1.2707&f=h
http://html5.org/tools/web-apps-tracker?from=3508&to=3509

===================================================================
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:43 UTC