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

html5/spec Overview.html,1.3590,1.3591

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 05 Jan 2010 11:56:11 +0000
To: public-html-commits@w3.org
Message-Id: <E1NS81D-00076B-GF@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv27243

Modified Files:
Log Message:
defer to WebIDL for how to handle erorneous inputs to th CanvasPixelArray setter. (whatwg r4491)

Index: Overview.html
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3590
retrieving revision 1.3591
diff -u -d -r1.3590 -r1.3591
--- Overview.html	5 Jan 2010 11:54:04 -0000	1.3590
+++ Overview.html	5 Jan 2010 11:56:08 -0000	1.3591
@@ -23901,15 +23901,7 @@
   <p>When a <code><a href="#canvaspixelarray">CanvasPixelArray</a></code> object is <dfn id="dom-canvaspixelarray-set" title="dom-CanvasPixelArray-set">indexed to modify an indexed
   property</dfn> <var title="">index</var> with value <var title="">value</var>, the value of the <var title="">index</var>th
-  component in the array must be set to <var title="">value</var>. JS
-  <code>undefined</code> values must be converted to zero. Other
-  values must first be converted to numbers using JavaScript's
-  ToNumber algorithm, and if the result is a NaN value, then the value
-  must be converted to zero. If the result is less than 0, it must be
-  clamped to zero. If the result is more than 255, it must be clamped
-  to 255. If the number is not an integer, it should be rounded to the
-  nearest integer using the IEEE 754 <i>convertToIntegerTiesToEven</i>
-  rounding mode. <a href="#refsECMA262">[ECMA262]</a> <a href="#refsIEEE754">[IEEE754]</a></p>
+  component in the array must be set to <var title="">value</var>.</p>
   <p class="note">The width and height (<var title="">w</var> and <var title="">h</var>) might be different from the <var title="">sw</var>
   and <var title="">sh</var> arguments to the above methods, e.g. if
@@ -70988,11 +70980,6 @@
    <dd><cite><a href="http://www.iana.org/assignments/message-headers/perm-headers.html">Permanent
    Message Header Field Names</a></cite>. IANA, October 2009.</dd>
-   <dt id="refsIEEE754">[IEEE754]</dt>
-   <dd><cite><a href="http://ieeexplore.ieee.org/servlet/opac?punumber=4610933">IEEE
-   Standard for Floating-Point Arithmetic (IEEE 754)</a></cite>. IEEE,
-   August 2008. ISBN 978-0-7381-5753-5.</dd>
    <dt id="refsISO8601">[ISO8601]</dt>
    <dd><cite><a href="http://isotc.iso.org/livelink/livelink/4021199/ISO_8601_2004_E.zip?func=doc.Fetch&amp;nodeid=4021199">ISO8601: Data elements and interchange formats &mdash; Information interchange &mdash; Representation of dates and times</a></cite>. ISO, December 2004.</dd>
Received on Tuesday, 5 January 2010 11:56:13 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:09:40 UTC