[html5] r4491 - [giow] (0) defer to WebIDL for how to handle erorneous inputs to th CanvasPixelA [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Jan 5 03:56:03 PST 2010


Author: ianh
Date: 2010-01-05 03:55:58 -0800 (Tue, 05 Jan 2010)
New Revision: 4491

Modified:
   complete.html
   index
   source
Log:
[giow] (0) defer to WebIDL for how to handle erorneous inputs to th CanvasPixelArray setter.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8405

Modified: complete.html
===================================================================
--- complete.html	2010-01-05 11:53:55 UTC (rev 4490)
+++ complete.html	2010-01-05 11:55:58 UTC (rev 4491)
@@ -27070,15 +27070,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
@@ -85961,11 +85953,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>
 

Modified: index
===================================================================
--- index	2010-01-05 11:53:55 UTC (rev 4490)
+++ index	2010-01-05 11:55:58 UTC (rev 4491)
@@ -26905,15 +26905,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
@@ -77729,11 +77721,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>
 

Modified: source
===================================================================
--- source	2010-01-05 11:53:55 UTC (rev 4490)
+++ source	2010-01-05 11:55:58 UTC (rev 4491)
@@ -29466,16 +29466,7 @@
   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>




More information about the Commit-Watchers mailing list