Skip to content

Commit

Permalink
[] (0) Make parsing lists of numbers have some semblence of an attemp…
Browse files Browse the repository at this point in the history
…t at parsing actual numbers correctly.

git-svn-id: http://svn.whatwg.org/webapps@1562 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed May 8, 2008
1 parent 83c7bd2 commit 0a8e036
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 17 deletions.
12 changes: 3 additions & 9 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -4883,9 +4883,6 @@ data:text/xml,<script xmlns="http://www.w3.org/1999/xhtml"><![CDATA[ alert('test
<li>
<p>Let <var title="">value</var> be 0.

<li>
<p>Let <var title="">multiple</var> be 1.

<li>
<p>Let <var title="">started</var> be false.

Expand Down Expand Up @@ -4932,13 +4929,10 @@ data:text/xml,<script xmlns="http://www.w3.org/1999/xhtml"><![CDATA[ alert('test
<li>If <var title="">finished</var> is true, skip to the next step in
the overall set of steps.

<li>Let <var title="">n</var> be the value of the digit, interpreted
in base ten, multiplied by <var title="">multiple</var>.
<li>Multiply <var title="">value</var> by ten.

<li>Add <var title="">n</var> to <var title="">value</var>.

<li>If <var title="">value</var> is greater than zero, multiply <var
title="">multiple</var> by ten.
<li>Add the value of the digit, interpreted in base ten, to <var
title="">value</var>.

<li>Let <var title="">started</var> be true.
</ol>
Expand Down
11 changes: 3 additions & 8 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -3352,7 +3352,6 @@ data:text/xml,<script xmlns="http://www.w3.org/1999/xhtml"><![CDATA[ alert('test

<li><p>Let <var title="">negated</var> be false.</p></li>
<li><p>Let <var title="">value</var> be 0.</p></li>
<li><p>Let <var title="">multiple</var> be 1.</p></li>
<li><p>Let <var title="">started</var> be false.</p></li>
<li><p>Let <var title="">finished</var> be false.</p></li>
<li><p>Let <var title="">bogus</var> be false.</p></li>
Expand Down Expand Up @@ -3404,14 +3403,10 @@ data:text/xml,<script xmlns="http://www.w3.org/1999/xhtml"><![CDATA[ alert('test
<li>If <var title="">finished</var> is true, skip to the next
step in the overall set of steps.</li>

<li>Let <var title="">n</var> be the value of the digit,
interpreted in base ten, multiplied by <var
title="">multiple</var>.</li>
<li>Multiply <var title="">value</var> by ten.</li>

<li>Add <var title="">n</var> to <var title="">value</var>.</li>

<li>If <var title="">value</var> is greater than zero, multiply
<var title="">multiple</var> by ten.</li>
<li>Add the value of the digit, interpreted in base ten, to
<var title="">value</var>.</li>

<li>Let <var title="">started</var> be true.</li>

Expand Down

0 comments on commit 0a8e036

Please sign in to comment.