html5/spec common-dom-interfaces.html,1.64,1.65 spec.html,1.1594,1.1595

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv31469

Modified Files:
	common-dom-interfaces.html spec.html 
Log Message:
Fix my bogus maths. (whatwg r6383)

[updated by splitter]


Index: common-dom-interfaces.html
===================================================================
RCS file: /sources/public/html5/spec/common-dom-interfaces.html,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- common-dom-interfaces.html	3 Aug 2011 23:46:22 -0000	1.64
+++ common-dom-interfaces.html	6 Aug 2011 07:46:27 -0000	1.65
@@ -833,17 +833,18 @@
    <li><p>Let <var title="">n</var> be <var title="">index</var> minus
    <var title="">length</var>.</p></li>
 
-   <li><p>If <var title="">n</var> is greater than one, then append
-   <var title="">n</var> new <code><a href="the-button-element.html#the-option-element">option</a></code> elements with no
-   attributes and no child nodes to the <code><a href="the-button-element.html#the-select-element">select</a></code> element on
-   which the <code><a href="#htmloptionscollection">HTMLOptionsCollection</a></code> is rooted. Mutation
-   events must be fired as if a <code><a href="infrastructure.html#documentfragment">DocumentFragment</a></code>
-   containing the new <code><a href="the-button-element.html#the-option-element">option</a></code> elements had been
-   inserted.</p></li>
+   <li><p>If <var title="">n</var> is greater than zero, then append
+   <span title=""><var title="">n</var>-1</span> new
+   <code><a href="the-button-element.html#the-option-element">option</a></code> elements with no attributes and no child nodes
+   to the <code><a href="the-button-element.html#the-select-element">select</a></code> element on which the
+   <code><a href="#htmloptionscollection">HTMLOptionsCollection</a></code> is rooted. Mutation events must
+   be fired as if a <code><a href="infrastructure.html#documentfragment">DocumentFragment</a></code> containing the new
+   <code><a href="the-button-element.html#the-option-element">option</a></code> elements had been inserted.</p></li>
 
-   <li><p>If <var title="">n</var> is zero, append <var title="">value</var> to the <code><a href="the-button-element.html#the-select-element">select</a></code> element. Otherwise,
-   replace the <var title="">index</var>th element in the collection
-   by <var title="">value</var>.</p></li>
+   <li><p>If <var title="">n</var> is greater than or equal to zero,
+   append <var title="">value</var> to the <code><a href="the-button-element.html#the-select-element">select</a></code>
+   element. Otherwise, replace the <var title="">index</var>th element
+   in the collection by <var title="">value</var>.</p></li>
 
   </ol><p>The <dfn id="dom-htmloptionscollection-add" title="dom-HTMLOptionsCollection-add"><code>add(<var title="">element</var>, <var title="">before</var>)</code></dfn>
   method must act according to the following algorithm:</p>

Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1594
retrieving revision 1.1595
diff -u -d -r1.1594 -r1.1595
--- spec.html	6 Aug 2011 03:46:22 -0000	1.1594
+++ spec.html	6 Aug 2011 07:46:27 -0000	1.1595
@@ -349,7 +349,7 @@
     <a href="Overview.html">single page HTML</a>,
     <a href="spec.html">multipage HTML</a>,
     <a href="author/">web developer edition</a>.
-This is revision 1.5094.
+This is revision 1.5095.
    </p> 
      <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
    &#169; 2011 <a href="http://www.w3.org/"><abbr title="World Wide

Received on Saturday, 6 August 2011 07:46:31 UTC