Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[e] (0) simplify the prose a bit, to not have unnecessary lists (type…
…=datetime)

git-svn-id: http://svn.whatwg.org/webapps@2248 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 30, 2008
1 parent bbc5844 commit 9c29d5b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 69 deletions.
45 changes: 11 additions & 34 deletions index
Expand Up @@ -30088,27 +30088,16 @@ function AddCloud(data, x, y) { ... }</pre>
which the element would not <a href="#suffering3" title="suffering from a
step mismatch">suffer from a step mismatch</a>.

<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>, is as
follows:</strong>

<ol>
<li>
<p><a href="#parse0">Parse a UTC date and time</a> from <var
title="">input</var>.

<li>
<p>If that results in an error, return an error and abort these steps.

<li>
<p>Otherwise, return the number of milliseconds elapsed from midnight UTC
on the morning of 1970-01-01 (the time represented by the value "<code
title="">1970-01-01T00:00:00.0Z</code>") to the parsed date and time,
ignoring leap seconds.
</ol>
follows:</strong> If <a href="#parse0" title="parse a UTC date and
time">parsing a UTC date and time</a> from <var title="">input</var>
results in an error, then return an error; otherwise, return the number of
milliseconds elapsed from midnight UTC on the morning of 1970-01-01 (the
time represented by the value "<code
title="">1970-01-01T00:00:00.0Z</code>") to the parsed date and time,
ignoring leap seconds.

<p><strong>The <a href="#algorithm6"
title=concept-input-value-number-string>algorithm to convert a number to a
Expand All @@ -30121,20 +30110,10 @@ function AddCloud(data, x, y) { ... }</pre>
<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>, is
as follows:</strong>

<ol>
<li>
<p><a href="#parse0">Parse a UTC date and time</a> from <var
title="">input</var>.

<li>
<p>If that results in an error, return an error and abort these steps.

<li>
<p>Otherwise, return a <code>Date</code> object representing the parsed
date and time.
</ol>
as follows:</strong> If <a href="#parse0" title="parse a UTC date and
time">parsing a UTC date and time</a> from <var title="">input</var>
results in an error, then return an error; otherwise, return a
<code>Date</code> object representing the parsed date and time.

<p><strong>The <a href="#algorithm8"
title=concept-input-value-date-string>algorithm to convert a
Expand All @@ -30143,8 +30122,6 @@ function AddCloud(data, x, y) { ... }</pre>
href="#valid6">valid UTC date and time</a> that represents the date and
time in UTC that is represented by <var title="">input</var>.

<hr>

<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
Expand Down
48 changes: 13 additions & 35 deletions source
Expand Up @@ -26567,27 +26567,16 @@ function AddCloud(data, x, y) { ... }</pre>
time for which the element would not <span title="suffering from a
step mismatch">suffer from a step mismatch</span>.</p>

<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>, is as follows:</strong></p>

<ol>

<li><p><span>Parse a UTC date and time</span> from <var
title="">input</var>.</p></li>

<li><p>If that results in an error, return an error and abort these
steps.</p></li>

<li><p>Otherwise, return the number of milliseconds elapsed from
midnight UTC on the morning of 1970-01-01 (the time represented by
the value "<code title="">1970-01-01T00:00:00.0Z</code>") to the
parsed date and time, ignoring leap seconds.</p></li>

</ol>
string to a number</span>, given a string <var title="">input</var>,
is as follows:</strong> If <span title="parse a UTC date and
time">parsing a UTC date and time</span> from <var
title="">input</var> results in an error, then return an error;
otherwise, return the number of milliseconds elapsed from midnight
UTC on the morning of 1970-01-01 (the time represented by the value
"<code title="">1970-01-01T00:00:00.0Z</code>") to the parsed date
and time, ignoring leap seconds.</p>

<p><strong>The <span
title="concept-input-value-number-string">algorithm to convert a
Expand All @@ -26601,20 +26590,11 @@ function AddCloud(data, x, y) { ... }</pre>
<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>, is as follows:</strong></p>

<ol>

<li><p><span>Parse a UTC date and time</span> from <var
title="">input</var>.</p></li>

<li><p>If that results in an error, return an error and abort these
steps.</p></li>

<li><p>Otherwise, return a <code>Date</code> object representing
the parsed date and time.</p></li>

</ol>
title="">input</var>, is as follows:</strong> If <span title="parse
a UTC date and time">parsing a UTC date and time</span> from <var
title="">input</var> results in an error, then return an error;
otherwise, return a <code>Date</code> object representing the parsed
date and time.</p>

<p><strong>The <span
title="concept-input-value-date-string">algorithm to convert a
Expand All @@ -26624,8 +26604,6 @@ function AddCloud(data, x, y) { ... }</pre>
represents the date and time in UTC that is represented by <var
title="">input</var>.</p>

<hr>

<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>,
Expand Down

0 comments on commit 9c29d5b

Please sign in to comment.