W3C home > Mailing lists > Public > public-html-commits@w3.org > April 2012

html5/spec Overview.html,1.5619,1.5620

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 09 Apr 2012 16:23:54 +0000
To: public-html-commits@w3.org
Message-Id: <E1SHHNi-0006BV-NX@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv23685

Modified Files:
Log Message:
Fix cloning of ImageData, and make it clearer how TypedArray links into the structured clone algorithm. (whatwg r7049)

Index: Overview.html
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5619
retrieving revision 1.5620
diff -u -d -r1.5619 -r1.5620
--- Overview.html	4 Apr 2012 18:56:07 -0000	1.5619
+++ Overview.html	9 Apr 2012 16:23:50 -0000	1.5620
@@ -9139,6 +9139,15 @@
      <dd><p>Let <var title="">output</var> be a newly constructed <code><a href="#filelist">FileList</a></code> object containing a list of newly constructed <code><a href="#file">File</a></code> objects corresponding to the same underlying data as those in <var title="">input</var>, maintaining their relative order.</dd>
+     <dt>If <var title="">input</var> is an <code>ImageData</code> object</dt>
+     <dd><p>Let <var title="">output</var> be a newly constructed
+     <code>ImageData</code> object whose <code title="dom-imagedata-width">width</code> and <code title="dom-imagedata-height">height</code> attributes have values
+     equal to the corresponding attributes on <var title="">input</var>, and whose <code title="dom-imagedata-data">data</code> attribute has the value
+     obtained from invoking the <a href="#internal-structured-cloning-algorithm">internal structured cloning
+     algorithm</a> recursively with the value of the <code title="dom-imagedata-data">data</code> attribute on <var title="">input</var> as the new "<var title="">input</var>"
+     argument and <var title="">memory</var> as the new "<var title="">memory</var>" argument.</dd>
      <dt>If <var title="">input</var> is an Array object</dt>
@@ -9158,6 +9167,10 @@
      <dd><p>Let <var title="">output</var> be a newly constructed empty <code title="">Object</code> object.</dd>
+     <dt>If <var title="">input</var> is an object that another specification defines how to clone</dt>
+     <dd><p>Let <var title="">output</var> be a clone of the object as defined by the other specification.</dd>
      <dt>If <var title="">input</var> is another native object type (e.g. <code>Error</code>, <code><a href="#function">Function</a></code>)</dt>
      <dt>If <var title="">input</var> is a host object (e.g. a DOM node)</dt>
Received on Monday, 9 April 2012 16:23:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:11:16 UTC