[html5] r1667 - /

whatwg at whatwg.org whatwg at whatwg.org
Thu May 22 04:27:38 PDT 2008


Author: ianh
Date: 2008-05-22 04:27:38 -0700 (Thu, 22 May 2008)
New Revision: 1667

Modified:
   index
   source
Log:
[ct] (1) Try to fix the encoding sniffing algorithm...

Modified: index
===================================================================
--- index	2008-05-22 11:17:52 UTC (rev 1666)
+++ index	2008-05-22 11:27:38 UTC (rev 1667)
@@ -41894,8 +41894,7 @@
 
      <li>
       <p>If the byte at <var title="">position</var> is <em>not</em> 0x3D
-       (ASCII '='), abort the "get an attribute" algorithm. Move <var
-       title="">position</var> back to the previous byte. The attribute's
+       (ASCII '='), abort the "get an attribute" algorithm. The attribute's
        name is the value of <var title="">attribute name</var>, its value is
        the empty string.
 
@@ -41922,8 +41921,9 @@
          <li>Advance <var title="">position</var> to the next byte.
 
          <li>If the value of the byte at <var title="">position</var> is the
-          value of <var title="">b</var>, then abort the "get an attribute"
-          algorithm. The attribute's name is the value of <var
+          value of <var title="">b</var>, then advance <var
+          title="">position</var> to the next byte and abort the "get an
+          attribute" algorithm. The attribute's name is the value of <var
           title="">attribute name</var>, and its value is the value of <var
           title="">attribute value</var>.
 

Modified: source
===================================================================
--- source	2008-05-22 11:17:52 UTC (rev 1666)
+++ source	2008-05-22 11:27:38 UTC (rev 1667)
@@ -39539,8 +39539,7 @@
 
      <li><p>If the byte at <var title="">position</var> is
      <em>not</em> 0x3D (ASCII '='), abort the "get an attribute"
-     algorithm. Move <var title="">position</var> back to the previous
-     byte. The attribute's name is the value of <var
+     algorithm. The attribute's name is the value of <var
      title="">attribute name</var>, its value is the empty
      string.</p></li>
 
@@ -39571,8 +39570,9 @@
          byte.</li>
 
          <li>If the value of the byte at <var title="">position</var>
-         is the value of <var title="">b</var>, then abort the "get an
-         attribute" algorithm. The attribute's name is the value of
+         is the value of <var title="">b</var>, then advance <var
+         title="">position</var> to the next byte and abort the "get
+         an attribute" algorithm. The attribute's name is the value of
          <var title="">attribute name</var>, and its value is the
          value of <var title="">attribute value</var>.</li>
 




More information about the Commit-Watchers mailing list