- From: poot <cvsmail@w3.org>
- Date: Tue, 5 Jan 2010 20:56:24 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: defer to WebIDL for how to handle erorneous inputs to th CanvasPixelArray setter. (whatwg r4491) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3590&r2=1.3591&f=h http://html5.org/tools/web-apps-tracker?from=4490&to=4491 =================================================================== 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&nodeid=4021199">ISO8601: Data elements and interchange formats — Information interchange — Representation of dates and times</a></cite>. ISO, December 2004.</dd>
Received on Tuesday, 5 January 2010 11:56:52 UTC