- From: poot <cvsmail@w3.org>
- Date: Wed, 6 May 2009 22:34:37 +0900 (JST)
- To: public-html-diffs@w3.org
h:tml; added <input type=tel> Diffs for this change per section: http://people.w3.org/mike/diffs/html5/markup/Overview.1.304.html#ins-toc http://people.w3.org/mike/diffs/html5/markup/Overview.1.304.html#input.url-toc http://people.w3.org/mike/diffs/html5/markup/Overview.1.304.html#abstract http://people.w3.org/mike/diffs/html5/markup/Overview.1.304.html#unexpanded-toc http://people.w3.org/mike/diffs/html5/markup/Overview.1.304.html#syntax-attributes-toc http://people.w3.org/mike/diffs/html5/markup/Overview.1.304.html#input.color-toc http://people.w3.org/mike/diffs/html5/markup/Overview.1.304.html#appendices http://people.w3.org/mike/diffs/html5/markup/Overview.1.304.html#input.tel-toc http://people.w3.org/mike/diffs/html5/markup/Overview.1.304.html#input.search-toc http://people.w3.org/mike/diffs/html5/markup/Overview.diff.html http://dev.w3.org/cvsweb/html5/markup/Overview.html?r1=1.303&r2=1.304&f=h =================================================================== RCS file: /sources/public/html5/markup/Overview.html,v retrieving revision 1.303 retrieving revision 1.304 diff -u -d -r1.303 -r1.304 --- Overview.html 6 May 2009 12:46:44 -0000 1.303 +++ Overview.html 6 May 2009 13:34:08 -0000 1.304 @@ -430,6 +430,9 @@ <li id="input.search-toc"> <a href="input.search.html#input.search"><span class="element">input</span> <span class="elem-qualifier"><span class="attribute-name">type</span>=<span class="equals-value">search</span></span> – <span class="shortdesc">search field</span></a> </li> +<li id="input.tel-toc"> +<a href="input.tel.html#input.tel"><span class="element">input</span> <span class="elem-qualifier"><span class="attribute-name">type</span>=<span class="equals-value">tel</span></span> – <span class="shortdesc">telephone number</span></a> +</li> <li id="input.color-toc"> <a href="input.color.html#input.color"><span class="element">input</span> <span class="elem-qualifier"><span class="attribute-name">type</span>=<span class="equals-value">color</span></span> – <span class="shortdesc">color</span></a> </li> Index: input.html =================================================================== RCS file: /sources/public/html5/markup/input.html,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- input.html 3 May 2009 15:59:41 -0000 1.4 +++ input.html 6 May 2009 13:34:09 -0000 1.5 @@ -35,6 +35,7 @@ | <a class="ref" href="input.email.html#input.email">input.email</a> | <a class="ref" href="input.url.html#input.url">input.url</a> | <a class="ref" href="input.search.html#input.search">input.search</a> + | <a class="ref" href="input.tel.html#input.tel">input.tel</a> | <a class="ref" href="input.color.html#input.color">input.color</a></dd></dl> <p>An <span class="element">input</span> element with no <span class="attribute">type</span> attribute Index: schema.html =================================================================== RCS file: /sources/public/html5/markup/schema.html,v retrieving revision 1.94 retrieving revision 1.95 diff -u -d -r1.94 -r1.95 --- schema.html 6 May 2009 12:46:45 -0000 1.94 +++ schema.html 6 May 2009 13:34:10 -0000 1.95 @@ -4099,6 +4099,7 @@ | <a class='ref' href='#input.email.elem'>input.email.elem</a> | <a class='ref' href='#input.url.elem'>input.url.elem</a> | <a class='ref' href='#input.search.elem'>input.search.elem</a> + | <a class='ref' href='#input.tel.elem'>input.tel.elem</a> | <a class='ref' href='#input.color.elem'>input.color.elem</a></span> </div> <div class='define' id='input.password.elem-define'> @@ -5632,6 +5633,47 @@ {<span class='model'> string </span>} </span> </div> +<div class='define' id='input.tel.elem-define'> + +<span class='comment'>## Telephone Number: <input type='tel'></span> + <div class='patternname' id='the-input.tel.elem'><a href='#the-input.tel.elem'>input.tel.elem</a> =</div> + <span class='pattern' id='input.tel.elem'><span class='type'>element </span> + <span class='name'>input</span> + {<span class='model'> + <a class='ref' href='#input.tel.attrs'>input.tel.attrs</a> + </span>} + </span> +</div> +<div class='define' id='input.tel.attrs-define'> + <div class='patternname' id='the-input.tel.attrs'><a href='#the-input.tel.attrs'>input.tel.attrs</a> =</div> + <span class='pattern' id='input.tel.attrs'><a class='ref' href='#common.attrs'>common.attrs</a> + & <a class='ref' href='#common-form.attrs'>common-form.attrs</a> + & <a class='ref' href='#input.tel.attrs.type'>input.tel.attrs.type</a> + & <a class='ref' href='#input.attrs.autocomplete'>input.attrs.autocomplete</a>? + & <a class='ref' href='#shared-form.attrs.autofocus'>shared-form.attrs.autofocus</a>? + & <a class='ref' href='#input.attrs.list'>input.attrs.list</a>? + & <a class='ref' href='#shared-form.attrs.maxlength'>shared-form.attrs.maxlength</a>? + & <a class='ref' href='#shared-form.attrs.pattern'>shared-form.attrs.pattern</a>? + & <a class='ref' href='#shared-form.attrs.readonly'>shared-form.attrs.readonly</a>? + & <a class='ref' href='#shared-form.attrs.required'>shared-form.attrs.required</a>? + & <a class='ref' href='#shared-form.attrs.size'>shared-form.attrs.size</a>? + & <a class='ref' href='#shared-form.attrs.placeholder'>shared-form.attrs.placeholder</a>? + & <a class='ref' href='#input.tel.attrs.value'>input.tel.attrs.value</a>?</span> +</div> +<div class='define' id='input.tel.attrs.type-define'> + <div class='patternname' id='the-input.tel.attrs.type'><a href='#the-input.tel.attrs.type'>input.tel.attrs.type</a> =</div> + <span class='pattern' id='input.tel.attrs.type'><span class='type'>attribute </span> + <span class='name'>type</span> + {<span class='model'> d:string "tel" </span>} + </span> +</div> +<div class='define' id='input.tel.attrs.value-define'> + <div class='patternname' id='the-input.tel.attrs.value'><a href='#the-input.tel.attrs.value'>input.tel.attrs.value</a> =</div> + <span class='pattern' id='input.tel.attrs.value'><span class='type'>attribute </span> + <span class='name'>value</span> + {<span class='model'> string </span>} + </span> +</div> <div class='define' id='input.color.elem-define'> <span class='comment'>## Color: <input type='color'></span> Index: schema.rnc =================================================================== RCS file: /sources/public/html5/markup/schema.rnc,v retrieving revision 1.81 retrieving revision 1.82 diff -u -d -r1.81 -r1.82 --- schema.rnc 6 May 2009 12:46:47 -0000 1.81 +++ schema.rnc 6 May 2009 13:34:10 -0000 1.82 @@ -1459,6 +1459,7 @@ | input.email.elem | input.url.elem | input.search.elem + | input.tel.elem | input.color.elem ## Password Field: <input type='password'> @@ -2037,6 +2038,25 @@ input.search.attrs.type = attribute type { d:string "search" } input.search.attrs.value = attribute value { string } + ## Telephone Number: <input type='tel'> + input.tel.elem = element input { input.tel.attrs } + input.tel.attrs = + common.attrs + & common-form.attrs + & input.tel.attrs.type + & input.attrs.autocomplete? + & shared-form.attrs.autofocus? + & input.attrs.list? + & shared-form.attrs.maxlength? + & shared-form.attrs.pattern? + & shared-form.attrs.readonly? + & shared-form.attrs.required? + & shared-form.attrs.size? + & shared-form.attrs.placeholder? + & input.tel.attrs.value? + input.tel.attrs.type = attribute type { d:string "tel" } + input.tel.attrs.value = attribute value { string } + ## Color: <input type='color'> input.color.elem = element input { input.color.attrs } input.color.attrs = Index: input.color.html =================================================================== RCS file: /sources/public/html5/markup/input.color.html,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- input.color.html 3 May 2009 15:59:41 -0000 1.4 +++ input.color.html 6 May 2009 13:34:09 -0000 1.5 @@ -8,7 +8,7 @@ <body> <h2 class="chunkpagetitle"><a href="Overview.html">HTML5: The Markup Language</a></h2> <div class="nav"> -<span class="nav-prev"><a href="input.search.html">« input.search</a></span> +<span class="nav-prev"><a href="input.tel.html">« input.tel</a></span> <span class="nav-next"><a href="ins.html">ins »</a></span> </div> <div id="input.color" class="section"> @@ -93,7 +93,7 @@ </div></div> <hr class="footerbreak"></hr> <div class="nav"> -<span class="nav-prev"><a href="input.search.html">« input.search</a></span> +<span class="nav-prev"><a href="input.tel.html">« input.tel</a></span> <span class="nav-next"><a href="ins.html">ins »</a></span> </div> </body> Index: input.search.html =================================================================== RCS file: /sources/public/html5/markup/input.search.html,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- input.search.html 3 May 2009 15:59:41 -0000 1.4 +++ input.search.html 6 May 2009 13:34:10 -0000 1.5 @@ -9,7 +9,7 @@ <h2 class="chunkpagetitle"><a href="Overview.html">HTML5: The Markup Language</a></h2> <div class="nav"> <span class="nav-prev"><a href="input.url.html">« input.url</a></span> -<span class="nav-next"><a href="input.color.html">input.color »</a></span> +<span class="nav-next"><a href="input.tel.html">input.tel »</a></span> </div> <div id="input.search" class="section"> <h2 class="element-head"><span class="element">input</span> <span class="elem-qualifier"><span class="attribute-name">type</span>=<span class="equals-value">search</span></span> – <span class="shortdesc">search field</span> <a class="hash" href="#input.search">#</a> <a class="toc-bak" href="Overview.html#input.search-toc">T</a></h2> @@ -98,7 +98,7 @@ <hr class="footerbreak"></hr> <div class="nav"> <span class="nav-prev"><a href="input.url.html">« input.url</a></span> -<span class="nav-next"><a href="input.color.html">input.color »</a></span> +<span class="nav-next"><a href="input.tel.html">input.tel »</a></span> </div> </body> </html> Index: spec.html =================================================================== RCS file: /sources/public/html5/markup/spec.html,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- spec.html 6 May 2009 12:46:51 -0000 1.11 +++ spec.html 6 May 2009 13:34:10 -0000 1.12 @@ -429,6 +429,9 @@ <li id="input.search-toc"> <a href="#input.search"><span class="element">input</span> <span class="elem-qualifier"><span class="attribute-name">type</span>=<span class="equals-value">search</span></span> – <span class="shortdesc">search field</span></a> </li> +<li id="input.tel-toc"> +<a href="#input.tel"><span class="element">input</span> <span class="elem-qualifier"><span class="attribute-name">type</span>=<span class="equals-value">tel</span></span> – <span class="shortdesc">telephone number</span></a> +</li> <li id="input.color-toc"> <a href="#input.color"><span class="element">input</span> <span class="elem-qualifier"><span class="attribute-name">type</span>=<span class="equals-value">color</span></span> – <span class="shortdesc">color</span></a> </li> @@ -1914,6 +1917,9 @@ <li id="input.search-toc"> <a href="#input.search"><span class="element">input</span> <span class="elem-qualifier"><span class="attribute-name">type</span>=<span class="equals-value">search</span></span> – <span class="shortdesc">search field</span></a> </li> +<li id="input.tel-toc"> +<a href="#input.tel"><span class="element">input</span> <span class="elem-qualifier"><span class="attribute-name">type</span>=<span class="equals-value">tel</span></span> – <span class="shortdesc">telephone number</span></a> +</li> <li id="input.color-toc"> <a href="#input.color"><span class="element">input</span> <span class="elem-qualifier"><span class="attribute-name">type</span>=<span class="equals-value">color</span></span> – <span class="shortdesc">color</span></a> </li> @@ -6513,6 +6519,7 @@ | <a class="ref" href="#input.email">input.email</a> | <a class="ref" href="#input.url">input.url</a> | <a class="ref" href="#input.search">input.search</a> + | <a class="ref" href="#input.tel">input.tel</a> | <a class="ref" href="#input.color">input.color</a> </dd> </dl> @@ -8746,6 +8753,99 @@ <ul><li class="context-mdl"><a href="#common.elem.phrasing">common.elem.phrasing</a></li></ul> </div> </div> +<div id="input.tel" class="section"> + <h2 class="element-head"> +<span class="element">input</span> <span class="elem-qualifier"><span class="attribute-name">type</span>=<span class="equals-value">tel</span></span> – <span class="shortdesc">telephone number</span> <a class="hash" href="#input.tel">#</a> <a class="toc-bak" href="#input.tel-toc">T</a> +</h2> + <div id="input.tel-longdesc" class="longdesc"><p><i class="TK">(element description to come)</i></p></div> + <div class="no-number no-toc" id="input.tel-content"> + <h2 class="element-subhead">Content model <a class="hash" href="#input.tel-content">#</a> +</h2> + <div class="content-models" id="input.tel-mdls"> + <p class="elem-mdl"><span class="element-pattern-name"><a id="input.tel-mdl" href="#input.tel-mdl"><span class="element">input</span>.tel</a> = </span><span> + <a class="ref" href="#input.tel.attrs">input.tel.attrs</a> + </span></p> + </div> + </div> +<div class="no-number no-toc" id="input.tel-attr-mdl"> + <h2 class="element-subhead">Attribute model <a class="hash" href="#input.tel-attr-mdl">#</a> +</h2> + <div class="attr-content-models"> + <p><a href="#input.tel.attrs">input.tel.attrs</a> = <span class="pattern" id="input.tel.attrs"><a class="ref" href="#common.attrs">common.attrs</a> + & <a class="ref" href="#common-form.attrs">common-form.attrs</a> + & <a class="ref" href="#input.tel.attrs.type" title="input.tel.attrs.type">type</a> + & <a class="ref" href="#input.attrs.autocomplete" title="input.attrs.autocomplete">autocomplete</a>? + & <a class="ref" href="#shared-form.attrs.autofocus" title="shared-form.attrs.autofocus">autofocus</a>? + & <a class="ref" href="#input.attrs.list" title="input.attrs.list">list</a>? + & <a class="ref" href="#shared-form.attrs.maxlength" title="shared-form.attrs.maxlength">maxlength</a>? + & <a class="ref" href="#shared-form.attrs.pattern" title="shared-form.attrs.pattern">pattern</a>? + & <a class="ref" href="#shared-form.attrs.readonly" title="shared-form.attrs.readonly">readonly</a>? + & <a class="ref" href="#shared-form.attrs.required" title="shared-form.attrs.required">required</a>? + & <a class="ref" href="#shared-form.attrs.size" title="shared-form.attrs.size">size</a>? + & <a class="ref" href="#shared-form.attrs.placeholder" title="shared-form.attrs.placeholder">placeholder</a>? + & <a class="ref" href="#input.tel.attrs.value" title="input.tel.attrs.value">value</a>?</span></p> +</div> +</div> + <div class="no-number no-toc" id="input.tel-attributes"> + <h2 class="element-subhead">Element-specific attributes <a class="hash" href="#input.tel-attributes">#</a> +</h2> + <dl class="attr-defs"> +<dt> +<a class="attribute-name" id="input.tel.attrs.type" title="input.tel.attrs.type" href="#input.tel.attrs.type">type</a><span class="attr-values"> = "tel" </span> </dt> + <dd><i class="TK">(detailed attribute description to come)</i></dd> + + <dt> +<a class="attribute-name" id="input.tel.attrs.value" title="input.tel.attrs.value" href="#input.tel.attrs.value">value</a><span class="attr-values"> = string </span> </dt> + <dd><i class="TK">(detailed attribute description to come)</i></dd> + + </dl> +</div> + + <div class="no-number no-toc" id="input.tel-assertions"> + <h2 class="element-subhead">Assertions <a class="hash" href="#input.tel-assertions">#</a> +</h2> + <ul class="assertions"> +<li><span> + The interactive element “input” must not + appear as a descendant of the “a” element. + </span></li> +<li><span> + The interactive element “input” must not + appear as a descendant of the “button” element. + </span></li> +<li><span> + The interactive element “input” must not + appear as a descendant of the “bb” element. + </span></li> +<li><span> + Any “input” descendant of a “label” + element with a “for” attribute must have an + ID value that matches that “for” attribute. + </span></li> + <li><span> + The “list” attribute of the “input” + element must refer to a “datalist” element or to + a “select” element. + </span></li> + </ul> +</div> + <div class="no-number no-toc" id="input.tel-tags"> + <h2 class="element-subhead">Tag omission <a class="hash" href="#input.tel-tags">#</a> +</h2> + <p>The + <a href="#input">input</a> + element is a <a href="#void-element">void element</a>. + An <a href="#input">input</a> + element must have a <span title="syntax-start-tag">start tag</span> but must not have an <span title="syntax-end-tag">end tag</span>.</p> + </div> + + + <div class="no-number no-toc" id="input.tel-context"> + <h2 class="element-subhead">Permitted contexts <a class="hash" href="#input.tel-context">#</a> +</h2> + <ul><li class="context-mdl"><a href="#common.elem.phrasing">common.elem.phrasing</a></li></ul> +</div> +</div> <div id="input.color" class="section"> <h2 class="element-head"> <span class="element">input</span> <span class="elem-qualifier"><span class="attribute-name">type</span>=<span class="equals-value">color</span></span> – <span class="shortdesc">color</span> <a class="hash" href="#input.color">#</a> <a class="toc-bak" href="#input.color-toc">T</a> Index: elements.html =================================================================== RCS file: /sources/public/html5/markup/elements.html,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- elements.html 3 May 2009 15:59:40 -0000 1.7 +++ elements.html 6 May 2009 13:34:09 -0000 1.8 @@ -174,6 +174,8 @@ </li> <li id="input.search-toc"><a href="input.search.html#input.search"><span class="element">input</span> <span class="elem-qualifier"><span class="attribute-name">type</span>=<span class="equals-value">search</span></span> – <span class="shortdesc">search field</span></a> </li> +<li id="input.tel-toc"><a href="input.tel.html#input.tel"><span class="element">input</span> <span class="elem-qualifier"><span class="attribute-name">type</span>=<span class="equals-value">tel</span></span> – <span class="shortdesc">telephone number</span></a> +</li> <li id="input.color-toc"><a href="input.color.html#input.color"><span class="element">input</span> <span class="elem-qualifier"><span class="attribute-name">type</span>=<span class="equals-value">color</span></span> – <span class="shortdesc">color</span></a> </li> <li id="ins-toc"><a href="ins.html#ins"><span class="element">ins</span> – <span class="shortdesc">inserted text</span></a>
Received on Wednesday, 6 May 2009 13:50:05 UTC