html5/spec-author-view Overview.html,1.400,1.401 acknowledgements.html,1.398,1.399 browsers.html,1.401,1.402 comms.html,1.400,1.401 dom.html,1.401,1.402 editing.html,1.400,1.401 embedded-content-0.html,1.398,1.399 forms.html,1.400,1.401 history.html,1.399,1.400 iana-considerations.html,1.398,1.399 index.html,1.398,1.399 infrastructure.html,1.399,1.400 interactive-elements.html,1.398,1.399 introduction.html,1.399,1.400 microdata.html,1.398,1.399 named-character-references.html,1.399,1.400 obsolete.html,1.399,1.400 offline.html,1.398,1.399 references.html,1.398,1.399 semantics.html,1.400,1.401 spec.html,1.401,1.402 syntax.html,1.401,1.402 tabular-data.html,1.398,1.399 text-level-semantics.html,1.397,1.398 the-canvas-element.html,1.400,1.401 the-xhtml-syntax.html,1.397,1.398 video.html,1.400,1.401

Update of /sources/public/html5/spec-author-view
In directory hutz:/tmp/cvs-serv21776

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 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:
Examples for type=datetime and type=datetime-local. (whatwg r4214)

[updated by splitter]


Index: infrastructure.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/infrastructure.html,v
retrieving revision 1.399
retrieving revision 1.400
diff -u -d -r1.399 -r1.400
--- infrastructure.html	20 Oct 2009 21:57:16 -0000	1.399
+++ infrastructure.html	20 Oct 2009 22:37:19 -0000	1.400
@@ -219,7 +219,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.3359.</p>
+<p>This is revision 1.3360.</p>
    </div><div>
    <a href="introduction.html">&#8592; 1 Introduction</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: text-level-semantics.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/text-level-semantics.html,v
retrieving revision 1.397
retrieving revision 1.398
diff -u -d -r1.397 -r1.398
--- text-level-semantics.html	20 Oct 2009 21:57:17 -0000	1.397
+++ text-level-semantics.html	20 Oct 2009 22:37:20 -0000	1.398
@@ -219,7 +219,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.3359.</p>
+<p>This is revision 1.3360.</p>
    </div><div>
    <a href="semantics.html">&#8592; 4 The elements of HTML</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: history.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/history.html,v
retrieving revision 1.399
retrieving revision 1.400
diff -u -d -r1.399 -r1.400
--- history.html	20 Oct 2009 21:57:16 -0000	1.399
+++ history.html	20 Oct 2009 22:37:19 -0000	1.400
@@ -219,7 +219,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.3359.</p>
+<p>This is revision 1.3360.</p>
    </div><div>
    <a href="offline.html">&#8592; 6.7 Offline Web applications</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: tabular-data.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/tabular-data.html,v
retrieving revision 1.398
retrieving revision 1.399
diff -u -d -r1.398 -r1.399
--- tabular-data.html	20 Oct 2009 21:57:17 -0000	1.398
+++ tabular-data.html	20 Oct 2009 22:37:20 -0000	1.399
@@ -219,7 +219,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.3359.</p>
+<p>This is revision 1.3360.</p>
    </div><div>
    <a href="the-canvas-element.html">&#8592; 4.8.11 The canvas element</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: microdata.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/microdata.html,v
retrieving revision 1.398
retrieving revision 1.399
diff -u -d -r1.398 -r1.399
--- microdata.html	20 Oct 2009 21:57:16 -0000	1.398
+++ microdata.html	20 Oct 2009 22:37:20 -0000	1.399
@@ -219,7 +219,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.3359.</p>
+<p>This is revision 1.3360.</p>
    </div><div>
    <a href="interactive-elements.html">&#8592; 4.11 Interactive elements</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/Overview.html,v
retrieving revision 1.400
retrieving revision 1.401
diff -u -d -r1.400 -r1.401
--- Overview.html	20 Oct 2009 21:57:15 -0000	1.400
+++ Overview.html	20 Oct 2009 22:37:19 -0000	1.401
@@ -241,7 +241,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.3359.
+This is revision 1.3360.
    </p>
    <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
    &#169; 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.398
retrieving revision 1.399
diff -u -d -r1.398 -r1.399
--- embedded-content-0.html	20 Oct 2009 21:57:15 -0000	1.398
+++ embedded-content-0.html	20 Oct 2009 22:37:19 -0000	1.399
@@ -219,7 +219,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.3359.</p>
+<p>This is revision 1.3360.</p>
    </div><div>
    <a href="dom.html">&#8592; 3 Semantics, structure, and APIs of HTML documents</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: dom.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/dom.html,v
retrieving revision 1.401
retrieving revision 1.402
diff -u -d -r1.401 -r1.402
--- dom.html	20 Oct 2009 21:57:15 -0000	1.401
+++ dom.html	20 Oct 2009 22:37:19 -0000	1.402
@@ -219,7 +219,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.3359.</p>
+<p>This is revision 1.3360.</p>
    </div><div>
    <a href="infrastructure.html">&#8592; 2 Common infrastructure</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: acknowledgements.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/acknowledgements.html,v
retrieving revision 1.398
retrieving revision 1.399
diff -u -d -r1.398 -r1.399
--- acknowledgements.html	20 Oct 2009 21:57:15 -0000	1.398
+++ acknowledgements.html	20 Oct 2009 22:37:19 -0000	1.399
@@ -218,7 +218,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.3359.</p>
+<p>This is revision 1.3360.</p>
    </div><div>
    <a href="references.html">&#8592; References</a> &#8211;
    <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.400
retrieving revision 1.401
diff -u -d -r1.400 -r1.401
--- the-canvas-element.html	20 Oct 2009 21:57:17 -0000	1.400
+++ the-canvas-element.html	20 Oct 2009 22:37:20 -0000	1.401
@@ -219,7 +219,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.3359.</p>
+<p>This is revision 1.3360.</p>
    </div><div>
    <a href="video.html">&#8592; 4.8.7 The video element</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: iana-considerations.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/iana-considerations.html,v
retrieving revision 1.398
retrieving revision 1.399
diff -u -d -r1.398 -r1.399
--- iana-considerations.html	20 Oct 2009 21:57:16 -0000	1.398
+++ iana-considerations.html	20 Oct 2009 22:37:19 -0000	1.399
@@ -219,7 +219,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.3359.</p>
+<p>This is revision 1.3360.</p>
    </div><div>
    <a href="obsolete.html">&#8592; 11 Obsolete features</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: forms.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/forms.html,v
retrieving revision 1.400
retrieving revision 1.401
diff -u -d -r1.400 -r1.401
--- forms.html	20 Oct 2009 21:57:16 -0000	1.400
+++ forms.html	20 Oct 2009 22:37:19 -0000	1.401
@@ -219,7 +219,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.3359.</p>
+<p>This is revision 1.3360.</p>
    </div><div>
    <a href="tabular-data.html">&#8592; 4.9 Tabular data</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;
@@ -2200,6 +2200,25 @@
    <code class="no-backref" title="dom-textarea/input-select"><a href="#dom-textarea-input-select">select()</a></code> and
    <code class="no-backref" title="dom-textarea/input-setSelectionRange"><a href="#dom-textarea-input-setselectionrange">setSelectionRange()</a></code> methods.</p>
 
+  </div><div class="example">
+
+   <p>The following fragment shows part of a calendar application. A
+   user can specify a date and time for a meeting (in his local time
+   zone, probably, though the user agent can allow the user to change
+   that), and since the submitted data includes the time-zone offset,
+   the application can ensure that the meeting is shown at the correct
+   time regardless of the time zones used by all the participants.</p>
+
+   <pre>&lt;fieldset&gt;
+ &lt;legend&gt;Add Meeting&lt;/legend&gt;
+ &lt;p&gt;&lt;label&gt;Meeting name: &lt;input type=text name="meeting.label"&gt;&lt;/label&gt;
+ &lt;p&gt;&lt;label&gt;Meeting time: &lt;input type=datetime name="meeting.start"&gt;&lt;/label&gt;
+&lt;/fieldset&gt;</pre>
+
+   <p>Had the application used the <code title="attr-input-type-datetime-local"><a href="#local-date-and-time-state">datetime-local</a></code> type
+   instead, the calendar application would have also had to explicitly
+   determine which time zone the user intended.</p>
+
   </div><h6 id="date-state"><span class="secno">4.10.5.1.8 </span><dfn title="attr-input-type-date">Date</dfn> state</h6><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <code><a href="#the-input-element">input</a></code> element <a href="#represents">represents</a> a control
   for setting the element's <a href="#concept-fe-value" title="concept-fe-value">value</a> to a string representing a
   specific <a href="infrastructure.html#concept-date" title="concept-date">date</a>.</p><p>The <code title="attr-input-value"><a href="#attr-input-value">value</a></code> attribute, if
@@ -2517,6 +2536,32 @@
    <code class="no-backref" title="dom-textarea/input-select"><a href="#dom-textarea-input-select">select()</a></code> and
    <code class="no-backref" title="dom-textarea/input-setSelectionRange"><a href="#dom-textarea-input-setselectionrange">setSelectionRange()</a></code> methods.</p>
 
+  </div><div class="example">
+
+   <p>The following example shows part of a flight booking
+   application. The application uses an <code><a href="#the-input-element">input</a></code> element
+   with its <code title="attr-input-type"><a href="#attr-input-type">type</a></code> attribute set to
+   <code title="attr-input-type-datetime-local"><a href="#local-date-and-time-state">datetime-local</a></code>,
+   and it then interprets the given date and time in the time zone of
+   the selected airport.</p>
+
+   <pre>&lt;fieldset&gt;
+ &lt;legend&gt;Destination&lt;/legend&gt;
+ &lt;p&gt;&lt;label&gt;Airport: &lt;input type=text name=to list=airports&gt;&lt;/label&gt;&lt;/p&gt;
+ &lt;p&gt;&lt;label&gt;Departure time: &lt;input type=datetime-local name=totime step=3600&gt;&lt;/label&gt;&lt;/p&gt;
+&lt;/fieldset&gt;
+&lt;datalist id=airports&gt;
+ &lt;option value=ATL label="Atlanta"&gt;
+ &lt;option value=MEM label="Memphis"&gt;
+ &lt;option value=LHR label="London Heathrow"&gt;
+ &lt;option value=LAX label="Los Angeles"&gt;
+ &lt;option value=FRA label="Frankfurt"&gt;
+&lt;/datalist&gt;</pre>
+
+   <p>If the application instead used the <code title="attr-input-type-datetime"><a href="#date-and-time-state">datetime</a></code> type, then the
+   user would have to work out the time-zone conversions himself,
+   which is clearly not a good user experience!</p>
+
   </div><h6 id="number-state"><span class="secno">4.10.5.1.13 </span><dfn title="attr-input-type-number">Number</dfn> state</h6><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <code><a href="#the-input-element">input</a></code> element <a href="#represents">represents</a> a control
   for setting the element's <a href="#concept-fe-value" title="concept-fe-value">value</a> to a string representing a
   number.</p><p>The <code title="attr-input-value"><a href="#attr-input-value">value</a></code> attribute, if

Index: interactive-elements.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/interactive-elements.html,v
retrieving revision 1.398
retrieving revision 1.399
diff -u -d -r1.398 -r1.399
--- interactive-elements.html	20 Oct 2009 21:57:16 -0000	1.398
+++ interactive-elements.html	20 Oct 2009 22:37:19 -0000	1.399
@@ -219,7 +219,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.3359.</p>
+<p>This is revision 1.3360.</p>
    </div><div>
    <a href="forms.html">&#8592; 4.10 Forms</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: editing.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/editing.html,v
retrieving revision 1.400
retrieving revision 1.401
diff -u -d -r1.400 -r1.401
--- editing.html	20 Oct 2009 21:57:15 -0000	1.400
+++ editing.html	20 Oct 2009 22:37:19 -0000	1.401
@@ -219,7 +219,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.3359.</p>
+<p>This is revision 1.3360.</p>
    </div><div>
    <a href="history.html">&#8592; 6.8 Session history and navigation</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: video.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/video.html,v
retrieving revision 1.400
retrieving revision 1.401
diff -u -d -r1.400 -r1.401
--- video.html	20 Oct 2009 21:57:17 -0000	1.400
+++ video.html	20 Oct 2009 22:37:20 -0000	1.401
@@ -219,7 +219,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.3359.</p>
+<p>This is revision 1.3360.</p>
    </div><div>
    <a href="text-level-semantics.html">&#8592; 4.6 Text-level semantics</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: browsers.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/browsers.html,v
retrieving revision 1.401
retrieving revision 1.402
diff -u -d -r1.401 -r1.402
--- browsers.html	20 Oct 2009 21:57:15 -0000	1.401
+++ browsers.html	20 Oct 2009 22:37:19 -0000	1.402
@@ -219,7 +219,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.3359.</p>
+<p>This is revision 1.3360.</p>
    </div><div>
    <a href="microdata.html">&#8592; 5 Microdata</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: the-xhtml-syntax.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/the-xhtml-syntax.html,v
retrieving revision 1.397
retrieving revision 1.398
diff -u -d -r1.397 -r1.398
--- the-xhtml-syntax.html	20 Oct 2009 21:57:17 -0000	1.397
+++ the-xhtml-syntax.html	20 Oct 2009 22:37:20 -0000	1.398
@@ -219,7 +219,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.3359.</p>
+<p>This is revision 1.3360.</p>
    </div><div>
    <a href="named-character-references.html">&#8592; 9.2 Named character references</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: offline.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/offline.html,v
retrieving revision 1.398
retrieving revision 1.399
diff -u -d -r1.398 -r1.399
--- offline.html	20 Oct 2009 21:57:16 -0000	1.398
+++ offline.html	20 Oct 2009 22:37:20 -0000	1.399
@@ -219,7 +219,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.3359.</p>
+<p>This is revision 1.3360.</p>
    </div><div>
    <a href="browsers.html">&#8592; 6 Web browsers</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: syntax.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/syntax.html,v
retrieving revision 1.401
retrieving revision 1.402
diff -u -d -r1.401 -r1.402
--- syntax.html	20 Oct 2009 21:57:16 -0000	1.401
+++ syntax.html	20 Oct 2009 22:37:20 -0000	1.402
@@ -219,7 +219,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.3359.</p>
+<p>This is revision 1.3360.</p>
    </div><div>
    <a href="comms.html">&#8592; 8 Communication</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: obsolete.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/obsolete.html,v
retrieving revision 1.399
retrieving revision 1.400
diff -u -d -r1.399 -r1.400
--- obsolete.html	20 Oct 2009 21:57:16 -0000	1.399
+++ obsolete.html	20 Oct 2009 22:37:20 -0000	1.400
@@ -219,7 +219,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.3359.</p>
+<p>This is revision 1.3360.</p>
    </div><div>
    <a href="the-xhtml-syntax.html">&#8592; 10 The XHTML syntax</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: named-character-references.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/named-character-references.html,v
retrieving revision 1.399
retrieving revision 1.400
diff -u -d -r1.399 -r1.400
--- named-character-references.html	20 Oct 2009 21:57:16 -0000	1.399
+++ named-character-references.html	20 Oct 2009 22:37:20 -0000	1.400
@@ -219,7 +219,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.3359.</p>
+<p>This is revision 1.3360.</p>
    </div><div>
    <a href="syntax.html">&#8592; 9 The HTML syntax</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: references.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/references.html,v
retrieving revision 1.398
retrieving revision 1.399
diff -u -d -r1.398 -r1.399
--- references.html	20 Oct 2009 21:57:16 -0000	1.398
+++ references.html	20 Oct 2009 22:37:20 -0000	1.399
@@ -219,7 +219,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.3359.</p>
+<p>This is revision 1.3360.</p>
    </div><div>
    <a href="index.html">&#8592; Index</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: semantics.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/semantics.html,v
retrieving revision 1.400
retrieving revision 1.401
diff -u -d -r1.400 -r1.401
--- semantics.html	20 Oct 2009 21:57:16 -0000	1.400
+++ semantics.html	20 Oct 2009 22:37:20 -0000	1.401
@@ -219,7 +219,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.3359.</p>
+<p>This is revision 1.3360.</p>
    </div><div>
    <a href="embedded-content-0.html">&#8592; 3.2.5.1.6 Embedded content</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: index.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/index.html,v
retrieving revision 1.398
retrieving revision 1.399
diff -u -d -r1.398 -r1.399
--- index.html	20 Oct 2009 21:57:16 -0000	1.398
+++ index.html	20 Oct 2009 22:37:19 -0000	1.399
@@ -219,7 +219,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.3359.</p>
+<p>This is revision 1.3360.</p>
    </div><div>
    <a href="iana-considerations.html">&#8592; IANA considerations</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: comms.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/comms.html,v
retrieving revision 1.400
retrieving revision 1.401
diff -u -d -r1.400 -r1.401
--- comms.html	20 Oct 2009 21:57:15 -0000	1.400
+++ comms.html	20 Oct 2009 22:37:19 -0000	1.401
@@ -219,7 +219,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.3359.</p>
+<p>This is revision 1.3360.</p>
    </div><div>
    <a href="editing.html">&#8592; 7 User Interaction</a> &#8211;
    <a href="Overview.html#contents">Table of contents</a> &#8211;

Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/spec.html,v
retrieving revision 1.401
retrieving revision 1.402
diff -u -d -r1.401 -r1.402
--- spec.html	20 Oct 2009 21:57:16 -0000	1.401
+++ spec.html	20 Oct 2009 22:37:20 -0000	1.402
@@ -239,7 +239,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.3359.
+This is revision 1.3360.
    </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
@@ -15770,6 +15770,25 @@
    <code class=no-backref title=dom-textarea/input-select><a href=#dom-textarea-input-select>select()</a></code> and
    <code class=no-backref title=dom-textarea/input-setSelectionRange><a href=#dom-textarea-input-setselectionrange>setSelectionRange()</a></code> methods.</p>
 
+  </div><div class=example>
+
+   <p>The following fragment shows part of a calendar application. A
+   user can specify a date and time for a meeting (in his local time
+   zone, probably, though the user agent can allow the user to change
+   that), and since the submitted data includes the time-zone offset,
+   the application can ensure that the meeting is shown at the correct
+   time regardless of the time zones used by all the participants.</p>
+
+   <pre>&lt;fieldset&gt;
+ &lt;legend&gt;Add Meeting&lt;/legend&gt;
+ &lt;p&gt;&lt;label&gt;Meeting name: &lt;input type=text name="meeting.label"&gt;&lt;/label&gt;
+ &lt;p&gt;&lt;label&gt;Meeting time: &lt;input type=datetime name="meeting.start"&gt;&lt;/label&gt;
+&lt;/fieldset&gt;</pre>
+
+   <p>Had the application used the <code title=attr-input-type-datetime-local><a href=#local-date-and-time-state>datetime-local</a></code> type
+   instead, the calendar application would have also had to explicitly
+   determine which time zone the user intended.</p>
+
   </div><h6 id=date-state><span class=secno>4.10.5.1.8 </span><dfn title=attr-input-type-date>Date</dfn> state</h6><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <code><a href=#the-input-element>input</a></code> element <a href=#represents>represents</a> a control
   for setting the element's <a href=#concept-fe-value title=concept-fe-value>value</a> to a string representing a
   specific <a href=#concept-date title=concept-date>date</a>.</p><p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
@@ -16087,6 +16106,32 @@
    <code class=no-backref title=dom-textarea/input-select><a href=#dom-textarea-input-select>select()</a></code> and
    <code class=no-backref title=dom-textarea/input-setSelectionRange><a href=#dom-textarea-input-setselectionrange>setSelectionRange()</a></code> methods.</p>
 
+  </div><div class=example>
+
+   <p>The following example shows part of a flight booking
+   application. The application uses an <code><a href=#the-input-element>input</a></code> element
+   with its <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute set to
+   <code title=attr-input-type-datetime-local><a href=#local-date-and-time-state>datetime-local</a></code>,
+   and it then interprets the given date and time in the time zone of
+   the selected airport.</p>
+
+   <pre>&lt;fieldset&gt;
+ &lt;legend&gt;Destination&lt;/legend&gt;
+ &lt;p&gt;&lt;label&gt;Airport: &lt;input type=text name=to list=airports&gt;&lt;/label&gt;&lt;/p&gt;
+ &lt;p&gt;&lt;label&gt;Departure time: &lt;input type=datetime-local name=totime step=3600&gt;&lt;/label&gt;&lt;/p&gt;
+&lt;/fieldset&gt;
+&lt;datalist id=airports&gt;
+ &lt;option value=ATL label="Atlanta"&gt;
+ &lt;option value=MEM label="Memphis"&gt;
+ &lt;option value=LHR label="London Heathrow"&gt;
+ &lt;option value=LAX label="Los Angeles"&gt;
+ &lt;option value=FRA label="Frankfurt"&gt;
+&lt;/datalist&gt;</pre>
+
+   <p>If the application instead used the <code title=attr-input-type-datetime><a href=#date-and-time-state>datetime</a></code> type, then the
+   user would have to work out the time-zone conversions himself,
+   which is clearly not a good user experience!</p>
+
   </div><h6 id=number-state><span class=secno>4.10.5.1.13 </span><dfn title=attr-input-type-number>Number</dfn> state</h6><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <code><a href=#the-input-element>input</a></code> element <a href=#represents>represents</a> a control
   for setting the element's <a href=#concept-fe-value title=concept-fe-value>value</a> to a string representing a
   number.</p><p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if

Index: introduction.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/introduction.html,v
retrieving revision 1.399
retrieving revision 1.400
diff -u -d -r1.399 -r1.400
--- introduction.html	20 Oct 2009 21:57:16 -0000	1.399
+++ introduction.html	20 Oct 2009 22:37:20 -0000	1.400
@@ -218,7 +218,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.3359.</p>
+<p>This is revision 1.3360.</p>
    </div><div>
    <a href="Overview.html#contents">Table of contents</a> &#8211;
    <a href="infrastructure.html">2 Common infrastructure &#8594;</a>

Received on Tuesday, 20 October 2009 22:37:25 UTC