Skip to content

Commit

Permalink
[e] (0) Suggest using pattern='' with type=tel
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9436

git-svn-id: http://svn.whatwg.org/webapps@5012 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 13, 2010
1 parent a7fd13d commit 63d7c8a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion complete.html
Expand Up @@ -35036,7 +35036,7 @@ <h6 id=telephone-state><span class=secno>4.10.7.1.3 </span><dfn title=attr-input
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
particular format are encouraged to use the <code title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code> attribute or the <code title=dom-cva-setCustomValidity><a href=#dom-cva-setcustomvalidity>setCustomValidity()</a></code> method
to hook into the client-side validation mechanism.</p>


Expand Down Expand Up @@ -90215,6 +90215,7 @@ <h3 class="no-num">Reflecting IDL attributes</h3>
Mike Shaver,
Mikko Rantalainen,
Mohamed Zergaoui<!-- Innovimax SARL -->,
Mounir Lamouri,
Ms2ger,
NARUSE Yui,
Neil Deakin,
Expand Down
3 changes: 2 additions & 1 deletion index
Expand Up @@ -34937,7 +34937,7 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
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
particular format are encouraged to use the <code title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code> attribute or the <code title=dom-cva-setCustomValidity><a href=#dom-cva-setcustomvalidity>setCustomValidity()</a></code> method
to hook into the client-side validation mechanism.</p>


Expand Down Expand Up @@ -83631,6 +83631,7 @@ interface <a href=#htmldocument>HTMLDocument</a> {
Mike Shaver,
Mikko Rantalainen,
Mohamed Zergaoui<!-- Innovimax SARL -->,
Mounir Lamouri,
Ms2ger,
NARUSE Yui,
Neil Deakin,
Expand Down
2 changes: 2 additions & 0 deletions source
Expand Up @@ -38740,6 +38740,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
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="attr-input-pattern">pattern</code> attribute or the <code
title="dom-cva-setCustomValidity">setCustomValidity()</code> method
to hook into the client-side validation mechanism.</p>

Expand Down Expand Up @@ -103294,6 +103295,7 @@ interface <span>HTMLDocument</span> {
Mike Shaver,
Mikko Rantalainen,
Mohamed Zergaoui<!-- Innovimax SARL -->,
Mounir Lamouri,
Ms2ger,
NARUSE Yui,
Neil Deakin,
Expand Down

0 comments on commit 63d7c8a

Please sign in to comment.