- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Sun, 13 Sep 2009 07:37:04 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec-author-view In directory hutz:/tmp/cvs-serv22625 Modified Files: Overview.html acknowledgements.html browsers.html comms.html dom.html editing.html embedded-content-0.html forms.html history.html iana-considerations.html index.html infrastructure.html interactive-elements.html introduction.html microdata.html named-character-references.html no.html obsolete.html offline.html references.html semantics.html spec.html syntax.html tabular-data.html text-level-semantics.html the-canvas-element.html the-xhtml-syntax.html video.html Log Message: maxlength='' example (whatwg r3819) [updated by splitter] Index: infrastructure.html =================================================================== RCS file: /sources/public/html5/spec-author-view/infrastructure.html,v retrieving revision 1.108 retrieving revision 1.109 diff -u -d -r1.108 -r1.109 --- infrastructure.html 13 Sep 2009 07:17:06 -0000 1.108 +++ infrastructure.html 13 Sep 2009 07:37:02 -0000 1.109 @@ -216,7 +216,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.2985.</p> +<p>This is revision 1.2988.</p> </div><div> <a href="introduction.html">← 1 Introduction</a> – <a href="Overview.html#contents">Table of contents</a> – Index: text-level-semantics.html =================================================================== RCS file: /sources/public/html5/spec-author-view/text-level-semantics.html,v retrieving revision 1.106 retrieving revision 1.107 diff -u -d -r1.106 -r1.107 --- text-level-semantics.html 13 Sep 2009 07:17:07 -0000 1.106 +++ text-level-semantics.html 13 Sep 2009 07:37:02 -0000 1.107 @@ -216,7 +216,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.2985.</p> +<p>This is revision 1.2988.</p> </div><div> <a href="semantics.html">← 4 The elements of HTML</a> – <a href="Overview.html#contents">Table of contents</a> – Index: history.html =================================================================== RCS file: /sources/public/html5/spec-author-view/history.html,v retrieving revision 1.108 retrieving revision 1.109 diff -u -d -r1.108 -r1.109 --- history.html 13 Sep 2009 07:17:06 -0000 1.108 +++ history.html 13 Sep 2009 07:37:02 -0000 1.109 @@ -216,7 +216,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.2985.</p> +<p>This is revision 1.2988.</p> </div><div> <a href="offline.html">← 6.7 Offline Web applications</a> – <a href="Overview.html#contents">Table of contents</a> – Index: tabular-data.html =================================================================== RCS file: /sources/public/html5/spec-author-view/tabular-data.html,v retrieving revision 1.107 retrieving revision 1.108 diff -u -d -r1.107 -r1.108 --- tabular-data.html 13 Sep 2009 07:17:06 -0000 1.107 +++ tabular-data.html 13 Sep 2009 07:37:02 -0000 1.108 @@ -216,7 +216,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.2985.</p> +<p>This is revision 1.2988.</p> </div><div> <a href="the-canvas-element.html">← 4.8.11 The canvas element</a> – <a href="Overview.html#contents">Table of contents</a> – Index: microdata.html =================================================================== RCS file: /sources/public/html5/spec-author-view/microdata.html,v retrieving revision 1.107 retrieving revision 1.108 diff -u -d -r1.107 -r1.108 --- microdata.html 13 Sep 2009 07:17:06 -0000 1.107 +++ microdata.html 13 Sep 2009 07:37:02 -0000 1.108 @@ -216,7 +216,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.2985.</p> +<p>This is revision 1.2988.</p> </div><div> <a href="interactive-elements.html">← 4.11 Interactive elements</a> – <a href="Overview.html#contents">Table of contents</a> – Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec-author-view/Overview.html,v retrieving revision 1.107 retrieving revision 1.108 diff -u -d -r1.107 -r1.108 --- Overview.html 13 Sep 2009 07:17:06 -0000 1.107 +++ Overview.html 13 Sep 2009 07:37:01 -0000 1.108 @@ -238,7 +238,7 @@ </dl><p>This specification is available in the following formats: <a href="spec.html">single page HTML</a>, <a href="Overview.html">multipage HTML</a>. -This is revision 1.2985. +This is revision 1.2988. </p> <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2009 <a href="http://www.w3.org/"><abbr title="World Wide Index: embedded-content-0.html =================================================================== RCS file: /sources/public/html5/spec-author-view/embedded-content-0.html,v retrieving revision 1.107 retrieving revision 1.108 diff -u -d -r1.107 -r1.108 --- embedded-content-0.html 13 Sep 2009 07:17:06 -0000 1.107 +++ embedded-content-0.html 13 Sep 2009 07:37:01 -0000 1.108 @@ -216,7 +216,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.2985.</p> +<p>This is revision 1.2988.</p> </div><div> <a href="dom.html">← 3 Semantics, structure, and APIs of HTML documents</a> – <a href="Overview.html#contents">Table of contents</a> – Index: dom.html =================================================================== RCS file: /sources/public/html5/spec-author-view/dom.html,v retrieving revision 1.108 retrieving revision 1.109 diff -u -d -r1.108 -r1.109 --- dom.html 13 Sep 2009 07:17:06 -0000 1.108 +++ dom.html 13 Sep 2009 07:37:01 -0000 1.109 @@ -216,7 +216,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.2985.</p> +<p>This is revision 1.2988.</p> </div><div> <a href="infrastructure.html">← 2 Common infrastructure</a> – <a href="Overview.html#contents">Table of contents</a> – Index: acknowledgements.html =================================================================== RCS file: /sources/public/html5/spec-author-view/acknowledgements.html,v retrieving revision 1.107 retrieving revision 1.108 diff -u -d -r1.107 -r1.108 --- acknowledgements.html 13 Sep 2009 07:17:06 -0000 1.107 +++ acknowledgements.html 13 Sep 2009 07:37:01 -0000 1.108 @@ -215,7 +215,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.2985.</p> +<p>This is revision 1.2988.</p> </div><div> <a href="references.html">← References</a> – <a href="Overview.html#contents">Table of contents</a> Index: the-canvas-element.html =================================================================== RCS file: /sources/public/html5/spec-author-view/the-canvas-element.html,v retrieving revision 1.107 retrieving revision 1.108 diff -u -d -r1.107 -r1.108 --- the-canvas-element.html 13 Sep 2009 07:17:07 -0000 1.107 +++ the-canvas-element.html 13 Sep 2009 07:37:02 -0000 1.108 @@ -216,7 +216,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.2985.</p> +<p>This is revision 1.2988.</p> </div><div> <a href="video.html">← 4.8.7 The video element</a> – <a href="Overview.html#contents">Table of contents</a> – Index: iana-considerations.html =================================================================== RCS file: /sources/public/html5/spec-author-view/iana-considerations.html,v retrieving revision 1.107 retrieving revision 1.108 diff -u -d -r1.107 -r1.108 --- iana-considerations.html 13 Sep 2009 07:17:06 -0000 1.107 +++ iana-considerations.html 13 Sep 2009 07:37:02 -0000 1.108 @@ -216,7 +216,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.2985.</p> +<p>This is revision 1.2988.</p> </div><div> <a href="no.html">← 12 Things that you can't do with this specification because they are better handled using other technologies that are further described herein</a> – <a href="Overview.html#contents">Table of contents</a> – Index: forms.html =================================================================== RCS file: /sources/public/html5/spec-author-view/forms.html,v retrieving revision 1.107 retrieving revision 1.108 diff -u -d -r1.107 -r1.108 --- forms.html 13 Sep 2009 07:17:06 -0000 1.107 +++ forms.html 13 Sep 2009 07:37:01 -0000 1.108 @@ -216,7 +216,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.2985.</p> +<p>This is revision 1.2988.</p> </div><div> <a href="tabular-data.html">← 4.9 Tabular data</a> – <a href="Overview.html#contents">Table of contents</a> – @@ -2055,14 +2055,59 @@ specified, must have a value that is a <a href="infrastructure.html#valid-non-negative-integer">valid non-negative integer</a> greater than zero.</p><h6 id="the-required-attribute"><span class="secno">4.10.4.2.5 </span>The <code title="attr-input-required"><a href="#attr-input-required">required</a></code> attribute</h6><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <dfn id="attr-input-required" title="attr-input-required"><code>required</code></dfn> attribute is a <a href="infrastructure.html#boolean-attribute">boolean attribute</a>. When specified, the - element is <dfn id="concept-input-required" title="concept-input-required"><i>required</i></dfn>.</p><h6 id="the-multiple-attribute"><span class="secno">4.10.4.2.6 </span>The <code title="attr-input-multiple"><a href="#attr-input-multiple">multiple</a></code> attribute</h6><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <dfn id="attr-input-multiple" title="attr-input-multiple"><code>multiple</code></dfn> + element is <dfn id="concept-input-required" title="concept-input-required"><i>required</i></dfn>.</p><div class="example"> + + <p>The following form has two required fields, one for an e-mail + address and one for a password. It also has a third field that is + only considerd valid if the user types the same password in the + password field and this third field.</p> + + <pre><h1>Create new account</h1> +<form action="/newaccount" method=post> + <p> + <label for="username">E-mail address:</label> + <input id="username" type=email required name=un> + <p> + <label for="password1">Password:</label> + <input id="password1" type=password required name=up> + <p> + <label for="password2">Confirm password:</label> + <input id="password2" type=password onforminput="setCustomValidity(value != password1.value ? 'Passwords do not match.' : '')"> + <p> + <input type=submit value="Create account"> +</form></pre> + + </div><h6 id="the-multiple-attribute"><span class="secno">4.10.4.2.6 </span>The <code title="attr-input-multiple"><a href="#attr-input-multiple">multiple</a></code> attribute</h6><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <dfn id="attr-input-multiple" title="attr-input-multiple"><code>multiple</code></dfn> attribute is a <a href="infrastructure.html#boolean-attribute">boolean attribute</a> that indicates whether - the user is to be allowed to specify more than one value.</p><h6 id="the-maxlength-attribute"><span class="secno">4.10.4.2.7 </span>The <code title="attr-input-maxlength"><a href="#attr-input-maxlength">maxlength</a></code> attribute</h6><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <dfn id="attr-input-maxlength" title="attr-input-maxlength"><code>maxlength</code></dfn> + the user is to be allowed to specify more than one value.</p><div class="example"> + + <p>The following extract shows how an e-mail client's "Cc" field + could accept multiple e-mail addresses.</p> + + <pre><label>Cc: <input type=email multiple name=cc></label></pre> + + </div><div class="example"> + + <p>The following extract shows how an e-mail client's "Attachments" + field could accept multiple files for upload.</p> + + <pre><label>Attachments: <input type=file multiple name=att></label></pre> + + </div><h6 id="the-maxlength-attribute"><span class="secno">4.10.4.2.7 </span>The <code title="attr-input-maxlength"><a href="#attr-input-maxlength">maxlength</a></code> attribute</h6><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <dfn id="attr-input-maxlength" title="attr-input-maxlength"><code>maxlength</code></dfn> attribute is a <a href="#attr-fe-maxlength" title="attr-fe-maxlength">form control <code title="">maxlength</code> attribute</a>.</p><p>If the <code><a href="#the-input-element">input</a></code> element has a <a href="#maximum-allowed-value-length">maximum allowed value length</a>, then the <a href="#code-point-length">code-point length</a> of the value of the element's <code title="attr-input-value"><a href="#attr-input-value">value</a></code> attribute must be equal to or less than the element's <a href="#maximum-allowed-value-length">maximum - allowed value length</a>.</p><h6 id="the-pattern-attribute"><span class="secno">4.10.4.2.8 </span>The <code title="attr-input-pattern"><a href="#attr-input-pattern">pattern</a></code> attribute</h6><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <dfn id="attr-input-pattern" title="attr-input-pattern"><code>pattern</code></dfn> + allowed value length</a>.</p><div class="example"> + + <p>The following extract shows how a messaging client's text entry + could be arbitrarily restricted to a fixed number of characters, + thus forcing any conversion through this medium to be terse and + discouraging intelligent discourse.</p> + + <pre>What are you doing? <input name=status maxlength=140></pre> + + </div><h6 id="the-pattern-attribute"><span class="secno">4.10.4.2.8 </span>The <code title="attr-input-pattern"><a href="#attr-input-pattern">pattern</a></code> attribute</h6><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <dfn id="attr-input-pattern" title="attr-input-pattern"><code>pattern</code></dfn> attribute specifies a regular expression against which the control's <a href="#concept-fe-value" title="concept-fe-value">value</a> is to be checked.</p><p>If specified, the attribute's value must match the JavaScript <i title="">Pattern</i> production. <a href="references.html#refsECMA262">[ECMA262]</a></p><p>When an <code><a href="#the-input-element">input</a></code> element has a <code title="attr-input-pattern"><a href="#attr-input-pattern">pattern</a></code> attribute specified, authors should include a <code title="attr-title"><a href="dom.html#the-title-attribute">title</a></code> Index: interactive-elements.html =================================================================== RCS file: /sources/public/html5/spec-author-view/interactive-elements.html,v retrieving revision 1.107 retrieving revision 1.108 diff -u -d -r1.107 -r1.108 --- interactive-elements.html 13 Sep 2009 07:17:06 -0000 1.107 +++ interactive-elements.html 13 Sep 2009 07:37:02 -0000 1.108 @@ -216,7 +216,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.2985.</p> +<p>This is revision 1.2988.</p> </div><div> <a href="forms.html">← 4.10 Forms</a> – <a href="Overview.html#contents">Table of contents</a> – Index: editing.html =================================================================== RCS file: /sources/public/html5/spec-author-view/editing.html,v retrieving revision 1.107 retrieving revision 1.108 diff -u -d -r1.107 -r1.108 --- editing.html 13 Sep 2009 07:17:06 -0000 1.107 +++ editing.html 13 Sep 2009 07:37:01 -0000 1.108 @@ -216,7 +216,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.2985.</p> +<p>This is revision 1.2988.</p> </div><div> <a href="history.html">← 6.8 Session history and navigation</a> – <a href="Overview.html#contents">Table of contents</a> – Index: video.html =================================================================== RCS file: /sources/public/html5/spec-author-view/video.html,v retrieving revision 1.107 retrieving revision 1.108 diff -u -d -r1.107 -r1.108 --- video.html 13 Sep 2009 07:17:07 -0000 1.107 +++ video.html 13 Sep 2009 07:37:02 -0000 1.108 @@ -216,7 +216,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.2985.</p> +<p>This is revision 1.2988.</p> </div><div> <a href="text-level-semantics.html">← 4.6 Text-level semantics</a> – <a href="Overview.html#contents">Table of contents</a> – Index: browsers.html =================================================================== RCS file: /sources/public/html5/spec-author-view/browsers.html,v retrieving revision 1.108 retrieving revision 1.109 diff -u -d -r1.108 -r1.109 --- browsers.html 13 Sep 2009 07:17:06 -0000 1.108 +++ browsers.html 13 Sep 2009 07:37:01 -0000 1.109 @@ -216,7 +216,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.2985.</p> +<p>This is revision 1.2988.</p> </div><div> <a href="microdata.html">← 5 Microdata</a> – <a href="Overview.html#contents">Table of contents</a> – Index: the-xhtml-syntax.html =================================================================== RCS file: /sources/public/html5/spec-author-view/the-xhtml-syntax.html,v retrieving revision 1.106 retrieving revision 1.107 diff -u -d -r1.106 -r1.107 --- the-xhtml-syntax.html 13 Sep 2009 07:17:07 -0000 1.106 +++ the-xhtml-syntax.html 13 Sep 2009 07:37:02 -0000 1.107 @@ -216,7 +216,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.2985.</p> +<p>This is revision 1.2988.</p> </div><div> <a href="named-character-references.html">← 9.2 Named character references</a> – <a href="Overview.html#contents">Table of contents</a> – Index: offline.html =================================================================== RCS file: /sources/public/html5/spec-author-view/offline.html,v retrieving revision 1.107 retrieving revision 1.108 diff -u -d -r1.107 -r1.108 --- offline.html 13 Sep 2009 07:17:06 -0000 1.107 +++ offline.html 13 Sep 2009 07:37:02 -0000 1.108 @@ -216,7 +216,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.2985.</p> +<p>This is revision 1.2988.</p> </div><div> <a href="browsers.html">← 6 Web browsers</a> – <a href="Overview.html#contents">Table of contents</a> – Index: syntax.html =================================================================== RCS file: /sources/public/html5/spec-author-view/syntax.html,v retrieving revision 1.108 retrieving revision 1.109 diff -u -d -r1.108 -r1.109 --- syntax.html 13 Sep 2009 07:17:06 -0000 1.108 +++ syntax.html 13 Sep 2009 07:37:02 -0000 1.109 @@ -216,7 +216,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.2985.</p> +<p>This is revision 1.2988.</p> </div><div> <a href="comms.html">← 8 Communication</a> – <a href="Overview.html#contents">Table of contents</a> – Index: obsolete.html =================================================================== RCS file: /sources/public/html5/spec-author-view/obsolete.html,v retrieving revision 1.108 retrieving revision 1.109 diff -u -d -r1.108 -r1.109 --- obsolete.html 13 Sep 2009 07:17:06 -0000 1.108 +++ obsolete.html 13 Sep 2009 07:37:02 -0000 1.109 @@ -216,7 +216,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.2985.</p> +<p>This is revision 1.2988.</p> </div><div> <a href="the-xhtml-syntax.html">← 10 The XHTML syntax</a> – <a href="Overview.html#contents">Table of contents</a> – Index: named-character-references.html =================================================================== RCS file: /sources/public/html5/spec-author-view/named-character-references.html,v retrieving revision 1.108 retrieving revision 1.109 diff -u -d -r1.108 -r1.109 --- named-character-references.html 13 Sep 2009 07:17:06 -0000 1.108 +++ named-character-references.html 13 Sep 2009 07:37:02 -0000 1.109 @@ -216,7 +216,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.2985.</p> +<p>This is revision 1.2988.</p> </div><div> <a href="syntax.html">← 9 The HTML syntax</a> – <a href="Overview.html#contents">Table of contents</a> – Index: references.html =================================================================== RCS file: /sources/public/html5/spec-author-view/references.html,v retrieving revision 1.107 retrieving revision 1.108 diff -u -d -r1.107 -r1.108 --- references.html 13 Sep 2009 07:17:06 -0000 1.107 +++ references.html 13 Sep 2009 07:37:02 -0000 1.108 @@ -216,7 +216,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.2985.</p> +<p>This is revision 1.2988.</p> </div><div> <a href="index.html">← Index</a> – <a href="Overview.html#contents">Table of contents</a> – Index: semantics.html =================================================================== RCS file: /sources/public/html5/spec-author-view/semantics.html,v retrieving revision 1.107 retrieving revision 1.108 diff -u -d -r1.107 -r1.108 --- semantics.html 13 Sep 2009 07:17:06 -0000 1.107 +++ semantics.html 13 Sep 2009 07:37:02 -0000 1.108 @@ -216,7 +216,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.2985.</p> +<p>This is revision 1.2988.</p> </div><div> <a href="embedded-content-0.html">← 3.2.5.1.6 Embedded content</a> – <a href="Overview.html#contents">Table of contents</a> – Index: index.html =================================================================== RCS file: /sources/public/html5/spec-author-view/index.html,v retrieving revision 1.107 retrieving revision 1.108 diff -u -d -r1.107 -r1.108 --- index.html 13 Sep 2009 07:17:06 -0000 1.107 +++ index.html 13 Sep 2009 07:37:02 -0000 1.108 @@ -216,7 +216,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.2985.</p> +<p>This is revision 1.2988.</p> </div><div> <a href="iana-considerations.html">← IANA considerations</a> – <a href="Overview.html#contents">Table of contents</a> – Index: comms.html =================================================================== RCS file: /sources/public/html5/spec-author-view/comms.html,v retrieving revision 1.107 retrieving revision 1.108 diff -u -d -r1.107 -r1.108 --- comms.html 13 Sep 2009 07:17:06 -0000 1.107 +++ comms.html 13 Sep 2009 07:37:01 -0000 1.108 @@ -216,7 +216,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.2985.</p> +<p>This is revision 1.2988.</p> </div><div> <a href="editing.html">← 7 User Interaction</a> – <a href="Overview.html#contents">Table of contents</a> – Index: spec.html =================================================================== RCS file: /sources/public/html5/spec-author-view/spec.html,v retrieving revision 1.108 retrieving revision 1.109 diff -u -d -r1.108 -r1.109 --- spec.html 13 Sep 2009 07:17:06 -0000 1.108 +++ spec.html 13 Sep 2009 07:37:02 -0000 1.109 @@ -236,7 +236,7 @@ </dl><p>This specification is available in the following formats: <a href=spec.html>single page HTML</a>, <a href=Overview.html>multipage HTML</a>. -This is revision 1.2985. +This is revision 1.2988. </p> <p class=copyright><a href=http://www.w3.org/Consortium/Legal/ipr-notice#Copyright>Copyright</a> © 2009 <a href=http://www.w3.org/><abbr title="World Wide @@ -15252,14 +15252,59 @@ specified, must have a value that is a <a href=#valid-non-negative-integer>valid non-negative integer</a> greater than zero.</p><h6 id=the-required-attribute><span class=secno>4.10.4.2.5 </span>The <code title=attr-input-required><a href=#attr-input-required>required</a></code> attribute</h6><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <dfn id=attr-input-required title=attr-input-required><code>required</code></dfn> attribute is a <a href=#boolean-attribute>boolean attribute</a>. When specified, the - element is <dfn id=concept-input-required title=concept-input-required><i>required</i></dfn>.</p><h6 id=the-multiple-attribute><span class=secno>4.10.4.2.6 </span>The <code title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code> attribute</h6><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <dfn id=attr-input-multiple title=attr-input-multiple><code>multiple</code></dfn> + element is <dfn id=concept-input-required title=concept-input-required><i>required</i></dfn>.</p><div class=example> + + <p>The following form has two required fields, one for an e-mail + address and one for a password. It also has a third field that is + only considerd valid if the user types the same password in the + password field and this third field.</p> + + <pre><h1>Create new account</h1> +<form action="/newaccount" method=post> + <p> + <label for="username">E-mail address:</label> + <input id="username" type=email required name=un> + <p> + <label for="password1">Password:</label> + <input id="password1" type=password required name=up> + <p> + <label for="password2">Confirm password:</label> + <input id="password2" type=password onforminput="setCustomValidity(value != password1.value ? 'Passwords do not match.' : '')"> + <p> + <input type=submit value="Create account"> +</form></pre> + + </div><h6 id=the-multiple-attribute><span class=secno>4.10.4.2.6 </span>The <code title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code> attribute</h6><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <dfn id=attr-input-multiple title=attr-input-multiple><code>multiple</code></dfn> attribute is a <a href=#boolean-attribute>boolean attribute</a> that indicates whether - the user is to be allowed to specify more than one value.</p><h6 id=the-maxlength-attribute><span class=secno>4.10.4.2.7 </span>The <code title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code> attribute</h6><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <dfn id=attr-input-maxlength title=attr-input-maxlength><code>maxlength</code></dfn> + the user is to be allowed to specify more than one value.</p><div class=example> + + <p>The following extract shows how an e-mail client's "Cc" field + could accept multiple e-mail addresses.</p> + + <pre><label>Cc: <input type=email multiple name=cc></label></pre> + + </div><div class=example> + + <p>The following extract shows how an e-mail client's "Attachments" + field could accept multiple files for upload.</p> + + <pre><label>Attachments: <input type=file multiple name=att></label></pre> + + </div><h6 id=the-maxlength-attribute><span class=secno>4.10.4.2.7 </span>The <code title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code> attribute</h6><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <dfn id=attr-input-maxlength title=attr-input-maxlength><code>maxlength</code></dfn> attribute is a <a href=#attr-fe-maxlength title=attr-fe-maxlength>form control <code title="">maxlength</code> attribute</a>.</p><p>If the <code><a href=#the-input-element>input</a></code> element has a <a href=#maximum-allowed-value-length>maximum allowed value length</a>, then the <a href=#code-point-length>code-point length</a> of the value of the element's <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute must be equal to or less than the element's <a href=#maximum-allowed-value-length>maximum - allowed value length</a>.</p><h6 id=the-pattern-attribute><span class=secno>4.10.4.2.8 </span>The <code title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code> attribute</h6><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <dfn id=attr-input-pattern title=attr-input-pattern><code>pattern</code></dfn> + allowed value length</a>.</p><div class=example> + + <p>The following extract shows how a messaging client's text entry + could be arbitrarily restricted to a fixed number of characters, + thus forcing any conversion through this medium to be terse and + discouraging intelligent discourse.</p> + + <pre>What are you doing? <input name=status maxlength=140></pre> + + </div><h6 id=the-pattern-attribute><span class=secno>4.10.4.2.8 </span>The <code title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code> attribute</h6><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <dfn id=attr-input-pattern title=attr-input-pattern><code>pattern</code></dfn> attribute specifies a regular expression against which the control's <a href=#concept-fe-value title=concept-fe-value>value</a> is to be checked.</p><p>If specified, the attribute's value must match the JavaScript <i title="">Pattern</i> production. <a href=#refsECMA262>[ECMA262]</a></p><p>When an <code><a href=#the-input-element>input</a></code> element has a <code title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code> attribute specified, authors should include a <code title=attr-title><a href=#the-title-attribute>title</a></code> Index: introduction.html =================================================================== RCS file: /sources/public/html5/spec-author-view/introduction.html,v retrieving revision 1.108 retrieving revision 1.109 diff -u -d -r1.108 -r1.109 --- introduction.html 13 Sep 2009 07:17:06 -0000 1.108 +++ introduction.html 13 Sep 2009 07:37:02 -0000 1.109 @@ -215,7 +215,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.2985.</p> +<p>This is revision 1.2988.</p> </div><div> <a href="Overview.html#contents">Table of contents</a> – <a href="infrastructure.html">2 Common infrastructure →</a> Index: no.html =================================================================== RCS file: /sources/public/html5/spec-author-view/no.html,v retrieving revision 1.107 retrieving revision 1.108 diff -u -d -r1.107 -r1.108 --- no.html 13 Sep 2009 07:17:06 -0000 1.107 +++ no.html 13 Sep 2009 07:37:02 -0000 1.108 @@ -216,7 +216,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.2985.</p> +<p>This is revision 1.2988.</p> </div><div> <a href="obsolete.html">← 11 Obsolete features</a> – <a href="Overview.html#contents">Table of contents</a> –
Received on Sunday, 13 September 2009 07:37:16 UTC