Skip to content

Commit

Permalink
[e] (0) Editorial tweaks in the type=datetime section.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@2246 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 30, 2008
1 parent afb4cf1 commit c7113be
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 54 deletions.
58 changes: 31 additions & 27 deletions index
Expand Up @@ -30065,12 +30065,30 @@ function AddCloud(data, x, y) { ... }</pre>
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>
Expand All @@ -30089,16 +30107,16 @@ function AddCloud(data, x, y) { ... }</pre>

<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>
Expand All @@ -30116,25 +30134,11 @@ function AddCloud(data, x, y) { ... }</pre>
<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:
Expand Down
58 changes: 31 additions & 27 deletions source
Expand Up @@ -26544,10 +26544,31 @@ function AddCloud(data, x, y) { ... }</pre>
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>

Expand All @@ -26566,17 +26587,17 @@ function AddCloud(data, x, y) { ... }</pre>

<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>

Expand All @@ -26594,29 +26615,12 @@ function AddCloud(data, x, y) { ... }</pre>
<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: -->

<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>The following common <code>input</code> element content
attributes, DOM attributes, and methods apply to the element:
Expand Down

0 comments on commit c7113be

Please sign in to comment.