W3C home > Mailing lists > Public > public-html-commits@w3.org > February 2010

html5/spec Overview.html,1.3757,1.3758

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Sat, 13 Feb 2010 13:50:34 +0000
To: public-html-commits@w3.org
Message-Id: <E1NgIOI-0001Ov-Ix@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv5369

Modified Files:
	Overview.html 
Log Message:
Define how mutation events fire for HTMLOptionsCollection.length setter. (whatwg r4707)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3757
retrieving revision 1.3758
diff -u -d -r1.3757 -r1.3758
--- Overview.html	13 Feb 2010 12:51:01 -0000	1.3757
+++ Overview.html	13 Feb 2010 13:50:30 -0000	1.3758
@@ -5262,10 +5262,12 @@
   <code><a href="#the-option-element">option</a></code> elements with no attributes and no child nodes
   must be appended to the <code><a href="#the-select-element">select</a></code> element on which the
   <code><a href="#htmloptionscollection">HTMLOptionsCollection</a></code> is rooted, where <var title="">n</var> is the difference between the two numbers (new
-  value minus old value). If the new value is lower, then the last
-  <var title="">n</var> nodes in the collection must be removed from
-  their parent nodes, where <var title="">n</var> is the difference
-  between the two numbers (old value minus new value).</p>
+  value minus old value). Mutation events must be fired as if a
+  <code>DocumentFragment</code> containing the new <code><a href="#the-option-element">option</a></code>
+  elements had been inserted.  If the new value is lower, then the
+  last <var title="">n</var> nodes in the collection must be removed
+  from their parent nodes, where <var title="">n</var> is the
+  difference between the two numbers (old value minus new value).</p>
 
   <p class="note">Setting <code title="dom-HTMLOptionsCollection-length"><a href="#dom-htmloptionscollection-length">length</a></code> never removes
   or adds any <code><a href="#the-optgroup-element">optgroup</a></code> elements, and never adds new
Received on Saturday, 13 February 2010 13:50:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 13 February 2010 13:50:36 GMT