[html5] r2248 - [e] (0) simplify the prose a bit, to not have unnecessary lists (type=datetime)
whatwg at whatwg.org
whatwg at whatwg.org
Mon Sep 29 21:37:19 PDT 2008
Author: ianh
Date: 2008-09-29 21:37:17 -0700 (Mon, 29 Sep 2008)
New Revision: 2248
Modified:
index
source
Log:
[e] (0) simplify the prose a bit, to not have unnecessary lists (type=datetime)
Modified: index
===================================================================
--- index 2008-09-30 04:10:52 UTC (rev 2247)
+++ index 2008-09-30 04:37:17 UTC (rev 2248)
@@ -30088,28 +30088,17 @@
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>
+ 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.
- <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>
-
<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>, is as
@@ -30121,21 +30110,11 @@
<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>
+ 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.
- <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>
-
<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
@@ -30143,8 +30122,6 @@
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
Modified: source
===================================================================
--- source 2008-09-30 04:10:52 UTC (rev 2247)
+++ source 2008-09-30 04:37:17 UTC (rev 2248)
@@ -26567,28 +26567,17 @@
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>
+ 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>
- <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>
-
<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>,
@@ -26601,21 +26590,12 @@
<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>
+ 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>
- <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>
-
<p><strong>The <span
title="concept-input-value-date-string">algorithm to convert a
<code>Date</code> object to a string</span>, given a
@@ -26624,8 +26604,6 @@
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>,
More information about the Commit-Watchers
mailing list