[html5] r2246 - [e] (0) Editorial tweaks in the type=datetime section.

whatwg at whatwg.org whatwg at whatwg.org
Mon Sep 29 20:37:16 PDT 2008


Author: ianh
Date: 2008-09-29 20:37:13 -0700 (Mon, 29 Sep 2008)
New Revision: 2246

Modified:
   index
   source
Log:
[e] (0) Editorial tweaks in the type=datetime section.

Modified: index
===================================================================
--- index	2008-09-30 03:30:00 UTC (rev 2245)
+++ index	2008-09-30 03:37:13 UTC (rev 2246)
@@ -30065,12 +30065,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>
@@ -30089,16 +30107,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>
@@ -30116,26 +30134,12 @@
   <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: -->
+   time in UTC that is represented by <var title="">input</var>.
 
-  <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: -->
+  <hr>
 
-  <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 -->
-
   <p>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

Modified: source
===================================================================
--- source	2008-09-30 03:30:00 UTC (rev 2245)
+++ source	2008-09-30 03:37:13 UTC (rev 2246)
@@ -26544,10 +26544,31 @@
   of the element is not a <span>valid UTC date and time</span>, then
   set it to the empty string instead.</p>
 
+  <!-- MIN AND MAX: -->
+
+  <p>The <code title="attr-input-min">min</code> attribute, if
+  specified, must have a value that is a <span>valid UTC date and
+  time</span>. The <code title="attr-input-max">max</code> attribute,
+  if specified, must have a value that is a <span>valid UTC date and
+  time</span>.</p>
+
+  <!-- STEP: -->
+
+  <p>The <code title="attr-input-step">step</code> attribute is
+  expressed in seconds. The <span
+  title="concept-input-step-scale">step scale factor</span> is 1000
+  (which converts the seconds to milliseconds, as used in the other
+  algorithms). The <span title="concept-input-step-default">default
+  step</span> is 60 seconds.</p>
+
+  <!-- XXX allow rounding -->
+
+  <hr>
+
   <p><strong>The <span
   title="concept-input-value-string-number">algorithm to convert a
   string to a number</span>, given a string <var
-  title="">input</var></strong>, is as follows:</p>
+  title="">input</var>, is as follows:</strong></p>
 
   <ol>
 
@@ -26566,17 +26587,17 @@
 
   <p><strong>The <span
   title="concept-input-value-number-string">algorithm to convert a
-  number to a string</span>, given a number <var
-  title="">input</var></strong>, consists of returning a <span>valid
-  UTC date and time</span> 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
+  number to a string</span>, given a number <var title="">input</var>,
+  is as follows:</strong> Return a <span>valid UTC date and
+  time</span> 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>
 
   <p><strong>The <span
   title="concept-input-value-string-date">algorithm to convert a
   string to a <code>Date</code> object</span>, given a string <var
-  title="">input</var></strong>, is as follows:</p>
+  title="">input</var>, is as follows:</strong></p>
 
   <ol>
 
@@ -26594,30 +26615,13 @@
   <p><strong>The <span
   title="concept-input-value-date-string">algorithm to convert a
   <code>Date</code> object to a string</span>, given a
-  <code>Date</code> object <var title="">input</var></strong>,
-  consists of returning a <span>valid UTC date and time</span> that
+  <code>Date</code> object <var title="">input</var>, is as
+  follows:</strong> Return a <span>valid UTC date and time</span> that
   represents the date and time in UTC that is represented by <var
   title="">input</var>.</p>
 
-  <!-- MIN AND MAX: -->
+  <hr>
 
-  <p>The <code title="attr-input-min">min</code> attribute, if
-  specified, must have a value that is a <span>valid UTC date and
-  time</span>. The <code title="attr-input-max">max</code> attribute,
-  if specified, must have a value that is a <span>valid UTC date and
-  time</span>.</p>
-
-  <!-- STEP: -->
-
-  <p>The <code title="attr-input-step">step</code> attribute is
-  expressed in seconds. The <span
-  title="concept-input-step-scale">step scale factor</span> is 1000
-  (which converts the seconds to milliseconds, as used in the other
-  algorithms). The <span title="concept-input-step-default">default
-  step</span> is 60 seconds.</p>
-
-  <!-- XXX allow rounding -->
-
   <p>The following common <code>input</code> element content
   attributes, DOM attributes, and methods apply to the element:
   <code title="attr-input-autocomplete">autocomplete</code>,




More information about the Commit-Watchers mailing list