Skip to content
Permalink
Browse files
[e] (0) remove redundant step
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=11643

git-svn-id: http://svn.whatwg.org/webapps@5824 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 3, 2011
1 parent 482b2fa commit 6ab4284434608cf2093a6493c2d8588a31600e8f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 12 deletions.
@@ -30421,10 +30421,13 @@ <h6 id=parsing-0><span class=secno>4.8.10.11.2 </span>Parsing</h6>
integer. Let <var title="">value<sub>4</sub></var> be that
integer.</li>

<li><p>If <var title="">value<sub>2</sub></var> is greater than 59,
if <var title="">value<sub>3</sub></var> is greater than 59, or if
<var title="">value<sub>4</sub></var> is greater than 999, return
an error and abort these steps.</li>
<li><p>If <var title="">value<sub>2</sub></var> is greater than 59
or if <var title="">value<sub>3</sub></var> is greater than 59,
return an error and abort these steps.</li>

<!-- no need to check if <var title="">value<sub>4</sub></var> is
greater than 999, since we know it had exactly three characters in
the range 0-9, so we know it's a number in the range 0-999 -->

<li><p>Let <var title="">result</var> be <span title=""><var title="">value<sub>1</sub></var>&times;60&times;60 + <var title="">value<sub>2</sub></var>&times;60 + <var title="">value<sub>3</sub></var> + <var title="">value<sub>4</sub></var>&#8725;1000</span>. <!-- &#x00f7;
is the division sign if people prefer that to the slash
11 index
@@ -30403,10 +30403,13 @@ interface <dfn id=texttrackcue>TextTrackCue</dfn> {
integer. Let <var title="">value<sub>4</sub></var> be that
integer.</li>

<li><p>If <var title="">value<sub>2</sub></var> is greater than 59,
if <var title="">value<sub>3</sub></var> is greater than 59, or if
<var title="">value<sub>4</sub></var> is greater than 999, return
an error and abort these steps.</li>
<li><p>If <var title="">value<sub>2</sub></var> is greater than 59
or if <var title="">value<sub>3</sub></var> is greater than 59,
return an error and abort these steps.</li>

<!-- no need to check if <var title="">value<sub>4</sub></var> is
greater than 999, since we know it had exactly three characters in
the range 0-9, so we know it's a number in the range 0-999 -->

<li><p>Let <var title="">result</var> be <span title=""><var title="">value<sub>1</sub></var>&times;60&times;60 + <var title="">value<sub>2</sub></var>&times;60 + <var title="">value<sub>3</sub></var> + <var title="">value<sub>4</sub></var>&#8725;1000</span>. <!-- &#x00f7;
is the division sign if people prefer that to the slash
11 source
@@ -33244,10 +33244,13 @@ interface <dfn>TextTrackCue</dfn> {
integer. Let <var title="">value<sub>4</sub></var> be that
integer.</p></li>

<li><p>If <var title="">value<sub>2</sub></var> is greater than 59,
if <var title="">value<sub>3</sub></var> is greater than 59, or if
<var title="">value<sub>4</sub></var> is greater than 999, return
an error and abort these steps.</p></li>
<li><p>If <var title="">value<sub>2</sub></var> is greater than 59
or if <var title="">value<sub>3</sub></var> is greater than 59,
return an error and abort these steps.</p></li>

<!-- no need to check if <var title="">value<sub>4</sub></var> is
greater than 999, since we know it had exactly three characters in
the range 0-9, so we know it's a number in the range 0-999 -->

<li><p>Let <var title="">result</var> be <span title=""><var
title="">value<sub>1</sub></var>&times;60&times;60 + <var

0 comments on commit 6ab4284

Please sign in to comment.