W3C home > Mailing lists > Public > public-html-commits@w3.org > June 2011

html5/spec Overview.html,1.5021,1.5022

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 24 Jun 2011 00:32:50 +0000
To: public-html-commits@w3.org
Message-Id: <E1QZuKI-000127-Gf@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv3957

Modified Files:
Log Message:
Structured clone: Preserve sparse arrays and mention that non-index properties of arrays are preserved too. (whatwg r6274)

Index: Overview.html
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5021
retrieving revision 1.5022
diff -u -d -r1.5021 -r1.5022
--- Overview.html	23 Jun 2011 23:48:53 -0000	1.5021
+++ Overview.html	24 Jun 2011 00:32:45 -0000	1.5022
@@ -318,7 +318,7 @@
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-23-june-2011">Editor's Draft 23 June 2011</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-24-june-2011">Editor's Draft 24 June 2011</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -464,7 +464,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
-  This specification is the 23 June 2011 Editor's Draft.
+  This specification is the 24 June 2011 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
   actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
   group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
@@ -7378,7 +7378,16 @@
      <dt>If <var title="">input</var> is an Array object</dt>
-     <dd><p>Let <var title="">output</var> be a newly constructed empty <code>Array</code> object.</dd>
+     <dd>
+      <p>Let <var title="">output</var> be a newly constructed empty
+      <code>Array</code> object whose <code title="">length</code> is
+      equal to the <code title="">length</code> of <var title="">input</var>.</p>
+      <p class="note">This means that the length of sparse arrays is
+      preserved.</p>
+     </dd>
      <dt>If <var title="">input</var> is an Object object</dt>
@@ -7422,6 +7431,10 @@
     output it would just have the default state (typically read-write,
     though that could depend on the scripting environment).</p>
+    <p class="note">Properties of Array objects are not treated any
+    differently than those of other Objects. In particular, this means
+    that non-index properties of arrays are copied as well.</p>
    <li><p>Return <var title="">output</var>.</li>
Received on Friday, 24 June 2011 00:32:52 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:10:42 UTC