[html5] r1014 - /

whatwg at whatwg.org whatwg at whatwg.org
Mon Aug 20 17:25:52 PDT 2007


Author: ianh
Date: 2007-08-20 17:25:51 -0700 (Mon, 20 Aug 2007)
New Revision: 1014

Modified:
   index
   source
Log:
[e] (0) simplifying the text and fixing the markup

Modified: index
===================================================================
--- index	2007-08-21 00:06:16 UTC (rev 1013)
+++ index	2007-08-21 00:25:51 UTC (rev 1014)
@@ -26220,71 +26220,71 @@
      <dt>If the row has an asterisk after one of the bytes:
 
      <dd>
-    </dl>
+      <ol>
+       <li>
+        <p>Let <var title="">index<sub>pattern</sub></var> be an index into
+         the mask and pattern byte strings of the row.
 
-   <li>
-    <p>Let <var title="">index<sub>pattern</sub></var> be an index into the
-     mask and pattern byte strings of the row.
+       <li>
+        <p>Let <var title="">index<sub>stream</sub></var> be an index into
+         the byte stream being examined.
 
-   <li>
-    <p>Let <var title="">index<sub>stream</sub></var> be an index into the
-     byte stream being examined.
+       <li>
+        <p><em>Loop</em>: If <var title="">index<sub>stream</sub></var>
+         points beyond the end of the byte stream, then this row doesn't
+         match, skip this row.
 
-   <li>
-    <p><em>Loop</em>: If <var title="">index<sub>stream</sub></var> points
-     beyond the end of the byte stream, then this row doesn't match, skip
-     this row.
+       <li>
+        <p>Examine the <var title="">index<sub>stream</sub></var>th byte of
+         the byte stream as follows:</p>
 
-   <li>
-    <p><em>Byte</em>: Examine the <var
-     title="">index<sub>stream</sub></var>th byte of the byte stream as
-     follows:</p>
+        <dl class=switch>
+         <dt>If the <var title="">index<sub>stream</sub></var>th byte of the
+          pattern does not have an asterisk after:
 
-    <dl class=switch>
-     <dt>If the <var title="">index<sub>stream</sub></var>th byte of the
-      pattern does not have an asterisk after:
+         <dd>
+          <p>If the "and" operator, applied to the <var
+           title="">index<sub>stream</sub></var>th byte of the stream and the
+           <var title="">index<sub>pattern</sub></var>th byte of the mask,
+           yield a value different that the <var
+           title="">index<sub>pattern</sub></var>th byte of the pattern, then
+           skip this row.</p>
 
-     <dd>
-      <p>If the "and" operator, applied to the <var
-       title="">index<sub>stream</sub></var>th byte of the stream and the
-       <var title="">index<sub>pattern</sub></var>th byte of the mask, yield
-       a value different that the <var
-       title="">index<sub>pattern</sub></var>th byte of the pattern, then
-       skip this row.</p>
+          <p>Otherwise, increment <var title="">index<sub>pattern</sub></var>
+           to the next byte in the mask and pattern and <var
+           title="">index<sub>stream</sub></var> to the next byte in the byte
+           stream.</p>
 
-      <p>Otherwise, increment <var title="">index<sub>pattern</sub></var> to
-       the next byte in the mask and pattern and <var
-       title="">index<sub>stream</sub></var> to the next byte in the byte
-       stream.</p>
+         <dt>Otherwies, if the <var title="">index<sub>stream</sub></var>th
+          byte of the pattern <em>does</em> have an asterisk after it:
 
-     <dt>Otherwies, if the <var title="">index<sub>stream</sub></var>th byte
-      of the pattern <em>does</em> have an asterisk after it:
+         <dd>
+          <p>If the "and" operator, applied to the <var
+           title="">index<sub>stream</sub></var>th byte of the stream and the
+           <var title="">index<sub>pattern</sub></var>th byte of the mask,
+           yield a value different that the <var
+           title="">index<sub>pattern</sub></var>th byte of the pattern, then
+           increment only the <var title="">index<sub>pattern</sub></var> to
+           the next byte in the mask and pattern and jump back to the
+           <em>loop</em> step in this algorithm.</p>
 
-     <dd>
-      <p>If the "and" operator, applied to the <var
-       title="">index<sub>stream</sub></var>th byte of the stream and the
-       <var title="">index<sub>pattern</sub></var>th byte of the mask, yield
-       a value different that the <var
-       title="">index<sub>pattern</sub></var>th byte of the pattern, then
-       increment only the <var title="">index<sub>pattern</sub></var> to the
-       next byte in the mask and pattern and jump to top of the <em>byte</em>
-       step in this algorithm.</p>
+          <p>Otherwise, increment only the <var
+           title="">index<sub>stream</sub></var> to the next byte in the byte
+           stream.</p>
+        </dl>
 
-      <p>Otherwise, increment only the <var
-       title="">index<sub>stream</sub></var> to the next byte in the byte
-       stream.</p>
+       <li>
+        <p>If <var title="">index<sub>pattern</sub></var> does not point
+         beyond the end of the mask and pattern byte strings, then jump back
+         to the <em>loop</em> step in this algorithm.
+
+       <li>
+        <p>Otherwise, the sniffed type of the resource is the type given in
+         the cell of the third column in that row; abort these steps.
+      </ol>
     </dl>
 
    <li>
-    <p>If <var title="">index<sub>pattern</sub></var> does not point beyond
-     the end of the mask and pattern byte strings, then return to the
-     <em>loop</em> step in this algorithm.
-
-   <li>
-    <p>Otherwise, the sniffed type of the resource is the type given in the
-     cell of the third column in that row; abort these steps.
-
-   <li>
     <p>As a last-ditch effort, jump to the <a href="#content-type4"
      title="content-type sniffing: text or binary">text or binary</a>
      section.

Modified: source
===================================================================
--- source	2007-08-21 00:06:16 UTC (rev 1013)
+++ source	2007-08-21 00:25:51 UTC (rev 1014)
@@ -23731,6 +23731,8 @@
 
      <dd>
 
+      <ol>
+
        <li><p>Let <var title="">index<sub>pattern</sub></var> be an
        index into the mask and pattern byte strings of the
        row.</p></li>
@@ -23745,9 +23747,8 @@
 
        <li>
 
-        <p><em>Byte</em>: Examine the <var
-        title="">index<sub>stream</sub></var>th byte of the byte
-        stream as follows:</p>
+        <p>Examine the <var title="">index<sub>stream</sub></var>th
+        byte of the byte stream as follows:</p>
 
         <dl class="switch">
 
@@ -23784,8 +23785,8 @@
           title="">index<sub>pattern</sub></var>th byte of the
           pattern, then increment only the <var
           title="">index<sub>pattern</sub></var> to the next byte in
-          the mask and pattern and jump to top of the <em>byte</em>
-          step in this algorithm.</p>
+          the mask and pattern and jump back to the <em>loop</em> step
+          in this algorithm.</p>
 
           <p>Otherwise, increment only the <var
           title="">index<sub>stream</sub></var> to the next byte in
@@ -23799,12 +23800,14 @@
 
        <li><p>If <var title="">index<sub>pattern</sub></var> does not
        point beyond the end of the mask and pattern byte strings, then
-       return to the <em>loop</em> step in this algorithm.</p></li>
+       jump back to the <em>loop</em> step in this algorithm.</p></li>
 
        <li><p>Otherwise, the sniffed type of the resource is the type
        given in the cell of the third column in that row; abort these
        steps.</p></li>
 
+      </ol>
+
      </dd>
 
     </dl>




More information about the Commit-Watchers mailing list