- From: poot <cvsmail@w3.org>
- Date: Sun, 13 Sep 2009 20:01:36 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: <textarea> and <output> examples, plus some minor changes to others. (whatwg r3824) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2992&r2=1.2993&f=h http://html5.org/tools/web-apps-tracker?from=3823&to=3824 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2992 retrieving revision 1.2993 diff -u -d -r1.2992 -r1.2993 --- Overview.html 13 Sep 2009 09:30:36 -0000 1.2992 +++ Overview.html 13 Sep 2009 11:01:12 -0000 1.2993 @@ -31134,9 +31134,9 @@ </div><div class="example"> <p>The following date control limits input to dates that are before - the start of the 21st century:</p> + the 1980s:</p> - <pre><input name=bday type=date max="2000-12-31"></pre> + <pre><input name=bday type=date max="1979-12-31"></pre> </div><div class="example"> @@ -32619,6 +32619,13 @@ and <code title="dom-textarea/input-setSelectionRange"><a href="#dom-textarea-input-setselectionrange">setSelectionRange()</a></code> methods and attributes expose the element's text selection.</p> + </div><div class="example"> + + <p>Here is an example of a <code><a href="#the-textarea-element">textarea</a></code> being used for + unrestricted free-form text input in a form:</p> + + <pre><p>If you have any comments, please let us know: <textarea cols=80 name=comments></textarea></p></pre> + </div><h4 id="the-keygen-element"><span class="secno">4.10.11 </span>The <dfn><code>keygen</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>First draft</i><dl class="element"><dt>Categories</dt> <dd><a href="#flow-content">Flow content</a>.</dd> <dd><a href="#phrasing-content">Phrasing content</a>.</dd> @@ -32862,7 +32869,7 @@ <pre><form action="processkey.cgi" method="post" enctype="multipart/formdata"> <p><keygen name="key"></p> - <p><input type=submit value="Submit key..."> + <p><input type=submit value="Submit key..."></p> </form></pre> <p>The server will then receive a form submission with a packaged @@ -33006,6 +33013,17 @@ elements are always <a href="#barred-from-constraint-validation">barred from constraint validation</a>.</p> + </div><div class="example"> + + <p>A simple calculator could use <code><a href="#the-output-element">output</a></code> for its + display of calculated results:</p> + + <pre><form onsubmit="return false"> + <input name=a type=number step=any> + + <input name=b type=number step=any> = + <output onforminput="value = a.value + b.value"></output> +</form></pre> + </div><h4 id="association-of-controls-and-forms"><span class="secno">4.10.13 </span>Association of controls and forms</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>A <a href="#form-associated-element">form-associated element</a> can have a relationship with a <code><a href="#the-form-element">form</a></code> element, which is called the element's <dfn id="form-owner">form owner</dfn>. If a <a href="#form-associated-element">form-associated element</a> is
Received on Sunday, 13 September 2009 11:02:13 UTC