- From: poot <cvsmail@w3.org>
- Date: Tue, 30 Sep 2008 12:40:53 +0900 (JST)
- To: public-html-diffs@w3.org
Editorial tweaks in the type=datetime section. (whatwg r2246)
4.10.4.1.5. Date and Time state
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1419.html#date-and
http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1418&r2=1.1419&f=h
http://html5.org/tools/web-apps-tracker?from=2245&to=2246
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1418
retrieving revision 1.1419
diff -u -d -r1.1418 -r1.1419
--- Overview.html 30 Sep 2008 03:30:11 -0000 1.1418
+++ Overview.html 30 Sep 2008 03:37:21 -0000 1.1419
@@ -30072,12 +30072,30 @@
follows:</strong> If the <a href="#value12"
title=concept-fe-value>value</a> of the element is not a <a
href="#valid6">valid UTC date and time</a>, then set it to the empty
- string instead.
+ string instead.</p>
+ <!-- MIN AND MAX: -->
+
+ <p>The <code title=attr-input-min><a href="#min2">min</a></code> attribute,
+ if specified, must have a value that is a <a href="#valid6">valid UTC date
+ and time</a>. The <code title=attr-input-max><a
+ href="#max4">max</a></code> attribute, if specified, must have a value
+ that is a <a href="#valid6">valid UTC date and time</a>.</p>
+ <!-- STEP: -->
+
+ <p>The <code title=attr-input-step><a href="#step0">step</a></code>
+ attribute is expressed in seconds. The <a href="#step-"
+ title=concept-input-step-scale>step scale factor</a> is 1000 (which
+ converts the seconds to milliseconds, as used in the other algorithms).
+ The <a href="#default2" title=concept-input-step-default>default step</a>
+ is 60 seconds.</p>
+ <!-- XXX allow rounding -->
+
+ <hr>
<p><strong>The <a href="#algorithm5"
title=concept-input-value-string-number>algorithm to convert a string to a
- number</a>, given a string <var title="">input</var></strong>, is as
- follows:
+ number</a>, given a string <var title="">input</var>, is as
+ follows:</strong>
<ol>
<li>
@@ -30096,16 +30114,16 @@
<p><strong>The <a href="#algorithm6"
title=concept-input-value-number-string>algorithm to convert a number to a
- string</a>, given a number <var title="">input</var></strong>, consists of
- returning a <a href="#valid6">valid UTC date and time</a> that represents
- the date and time in UTC that is <var title="">input</var> milliseconds
- afer midnight UTC on the morning of 1970-01-01 (the time represented by
- the value "<code title="">1970-01-01T00:00:00.0Z</code>").
+ string</a>, given a number <var title="">input</var>, is as
+ follows:</strong> Return a <a href="#valid6">valid UTC date and time</a>
+ that represents the date and time in UTC that is <var title="">input</var>
+ milliseconds after midnight UTC on the morning of 1970-01-01 (the time
+ represented by the value "<code title="">1970-01-01T00:00:00.0Z</code>").
<p><strong>The <a href="#algorithm7"
title=concept-input-value-string-date>algorithm to convert a string to a
- <code>Date</code> object</a>, given a string <var
- title="">input</var></strong>, is as follows:
+ <code>Date</code> object</a>, given a string <var title="">input</var>, is
+ as follows:</strong>
<ol>
<li>
@@ -30123,25 +30141,11 @@
<p><strong>The <a href="#algorithm8"
title=concept-input-value-date-string>algorithm to convert a
<code>Date</code> object to a string</a>, given a <code>Date</code> object
- <var title="">input</var></strong>, consists of returning a <a
+ <var title="">input</var>, is as follows:</strong> Return a <a
href="#valid6">valid UTC date and time</a> that represents the date and
- time in UTC that is represented by <var title="">input</var>.</p>
- <!-- MIN AND MAX: -->
-
- <p>The <code title=attr-input-min><a href="#min2">min</a></code> attribute,
- if specified, must have a value that is a <a href="#valid6">valid UTC date
- and time</a>. The <code title=attr-input-max><a
- href="#max4">max</a></code> attribute, if specified, must have a value
- that is a <a href="#valid6">valid UTC date and time</a>.</p>
- <!-- STEP: -->
+ time in UTC that is represented by <var title="">input</var>.
- <p>The <code title=attr-input-step><a href="#step0">step</a></code>
- attribute is expressed in seconds. The <a href="#step-"
- title=concept-input-step-scale>step scale factor</a> is 1000 (which
- converts the seconds to milliseconds, as used in the other algorithms).
- The <a href="#default2" title=concept-input-step-default>default step</a>
- is 60 seconds.</p>
- <!-- XXX allow rounding -->
+ <hr>
<p>The following common <code><a href="#input0">input</a></code> element
content attributes, DOM attributes, and methods apply to the element:
Received on Tuesday, 30 September 2008 03:41:30 UTC