html5/spec Overview.html,1.1401,1.1402

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv27491

Modified Files:
	Overview.html 
Log Message:
WF2: <input type=datetime> initial cut. Still needs filling in. (whatwg r2229)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1401
retrieving revision 1.1402
diff -u -d -r1.1401 -r1.1402
--- Overview.html	24 Sep 2008 07:17:50 -0000	1.1401
+++ Overview.html	24 Sep 2008 10:44:07 -0000	1.1402
@@ -30069,7 +30069,99 @@
    href="#datetime3">datetime</a></code>, it is in the <a href="#date-and0"
    title=attr-input-type-datetime>Date and Time</a> state.
 
-  <p class=big-issue>...
+  <p>When an <code><a href="#input0">input</a></code> element's <code
+   title=attr-input-type><a href="#type14">type</a></code> attribute is in
+   the <a href="#date-and0" title=attr-input-type-datetime>Date and Time</a>
+   state, the element represents a control for setting the element's <a
+   href="#value12" title=concept-fe-value>value</a> to a string representing
+   a specific <span>UTC date and time</span>. User agents may display the
+   time in whatever timezone is appropriate for the user.
+
+  <p>If an <code><a href="#input0">input</a></code> element whose <code
+   title=attr-input-type><a href="#type14">type</a></code> attribute is in
+   the <a href="#date-and0" title=attr-input-type-datetime>Date and Time</a>
+   state is <i title=concept-input-mutable><a
+   href="#mutable">mutable</a></i>, the user should allow the user to change
+   the date and time represented by its <a href="#value12"
+   title=concept-fe-value>value</a>. User agents must not allow the user to
+   set the <a href="#value12" title=concept-fe-value>value</a> to a string
+   that is not a <span>valid UTC date and time</span>. If the user agent
+   provides a user interface for selecting a date and time, then the <a
+   href="#value12" title=concept-fe-value>value</a> must be set to a
+   <span>valid UTC date and time</span> representing the user's selection.
+   User agents should allow the user to set the <a href="#value12"
+   title=concept-fe-value>value</a> to the empty string.
+
+  <p><strong>The <a href="#date-and0" title=attr-input-type-datetime>Date and
+   Time</a> state's <a href="#control0">control initialization algorithm</a>
+   is as follows:</strong> If the <a href="#value12"
+   title=concept-fe-value>value</a> of the element is not a <span>valid UTC
+   date and time</span>, then set it to the empty string instead.
+
+  <p><strong>The <a href="#date-and0" title=attr-input-type-datetime>Date and
+   Time</a> state's <a href="#default2">default value change algorithm</a> is
+   as follows:</strong> If the <code><a href="#input0">input</a></code>
+   element is not <i title=concept-input-dirty><a
+   href="#dirty0">dirty</a></i> then set the <a href="#value12"
+   title=concept-fe-value>value</a> of the element to the value of the <code
+   title=attr-input-value><a href="#value8">value</a></code> content
+   attribute and run the <a href="#control0">control initialization
+   algorithm</a>.
+
+  <p><strong>The <a href="#date-and0" title=attr-input-type-datetime>Date and
+   Time</a> state's <a href="#value10"><code
+   title=dom-input-value>value</code> setter algorithm</a> is as
+   follows:</strong> Set the <a href="#value12"
+   title=concept-fe-value>value</a> of the element to the new value and run
+   the <a href="#control0">control initialization algorithm</a>.</p>
+  <!-- XXX min, max, step -->
+
+  <p>When an <code><a href="#input0">input</a></code> element's <code
+   title=attr-input-type><a href="#type14">type</a></code> attribute is in
+   the <a href="#date-and0" title=attr-input-type-datetime>Date and Time</a>
+   state, the following common <code><a href="#input0">input</a></code>
+   element content attributes, DOM attributes, and methods apply to the
+   element: <code title=attr-input-autocomplete><a
+   href="#autocomplete0">autocomplete</a></code>, <code
+   title=attr-input-list>list</code>, <code title=attr-input-max>max</code>,
+   <code title=attr-input-min>min</code>, <code title=attr-input-readonly><a
+   href="#readonly0">readonly</a></code>, <code
+   title=attr-input-required>required</code>, and <code
+   title=attr-input-step>step</code> content attributes; <code
+   title=dom-input-list><a href="#list">list</a></code>, <code
+   title=dom-input-valueAsDate><a href="#valueasdate">valueAsDate</a></code>,
+   <code title=dom-input-valueAsNumber><a
+   href="#valueasnumber">valueAsNumber</a></code>, <code
+   title=dom-input-selectedOption><a
+   href="#selectedoption">selectedOption</a></code>, <code
+   title=dom-input-stepUp><a href="#stepup">stepUp()</a></code>, and <code
+   title=dom-input-stepDown><a href="#stepdown">stepDown()</a></code> DOM
+   attributes.
+
+  <p>When an <code><a href="#input0">input</a></code> element's <code
+   title=attr-input-type><a href="#type14">type</a></code> attribute is in
+   the <a href="#date-and0" title=attr-input-type-datetime>Date and Time</a>
+   state, the following content attributes must not be specified and do not
+   apply to the element: <code class=no-backref title=attr-input-accept><a
+   href="#accept0">accept</a></code>, <code class=no-backref
+   title=attr-input-alt>alt</code>, <code class=no-backref
+   title=attr-input-checked>checked</code>, <code class=no-backref
+   title=attr-input-maxlength>maxlength</code>, <code class=no-backref
+   title=attr-input-pattern>pattern</code>, <code class=no-backref
+   title=attr-input-size>size</code>, <code class=no-backref
+   title=attr-input-src>src</code>, <code class=no-backref
+   title=attr-fs-target><a href="#target3">target</a></code>, <code
+   class=no-backref title=attr-fs-method><a href="#method">method</a></code>,
+   <code class=no-backref title=attr-fs-enctype><a
+   href="#enctype">enctype</a></code>, and <code class=no-backref
+   title=attr-fs-action><a href="#action">action</a></code>.
+
+  <p>When an <code><a href="#input0">input</a></code> element's <code
+   title=attr-input-type><a href="#type14">type</a></code> attribute is in
+   the <a href="#date-and0" title=attr-input-type-datetime>Date and Time</a>
+   state, the <code class=no-backref title=dom-input-checked><a
+   href="#checked1">checked</a></code> DOM attribute does not apply to the
+   element.
 
   <h6 id=local><span class=secno>4.10.4.1.6. </span><dfn id=local0
    title=attr-input-type-datetime-local>Local Date and Time</dfn> state</h6>

Received on Wednesday, 24 September 2008 10:44:45 UTC