- From: poot <cvsmail@w3.org>
- Date: Tue, 13 Jan 2009 20:59:19 +0900 (JST)
- To: public-html-diffs@w3.org
cross-refs (whatwg r2657) indexed to modify an indexed property http://people.w3.org/mike/diffs/html5/spec/Overview.1.1827.html#dom-canvaspixelarray-set ImageData http://people.w3.org/mike/diffs/html5/spec/Overview.1.1827.html#imagedata CanvasPixelArray http://people.w3.org/mike/diffs/html5/spec/Overview.1.1827.html#canvaspixelarray canvas http://people.w3.org/mike/diffs/html5/spec/Overview.1.1827.html#dom-context-2d-canvas length http://people.w3.org/mike/diffs/html5/spec/Overview.1.1827.html#dom-canvaspixelarray-length indexed to retrieve an indexed property http://people.w3.org/mike/diffs/html5/spec/Overview.1.1827.html#dom-canvaspixelarray-get http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1826&r2=1.1827&f=h http://html5.org/tools/web-apps-tracker?from=2656&to=2657 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1826 retrieving revision 1.1827 diff -u -d -r1.1826 -r1.1827 --- Overview.html 13 Jan 2009 11:43:55 -0000 1.1826 +++ Overview.html 13 Jan 2009 11:56:37 -0000 1.1827 @@ -16022,7 +16022,7 @@ readonly attribute <a href=#canvaspixelarray>CanvasPixelArray</a> <a href=#dom-imagedata-data title=dom-imagedata-data>data</a>; }; -[IndexGetter, IndexSetter] +[<a href=#dom-canvaspixelarray-get title=dom-CanvasPixelArray-get>IndexGetter</a>, <a href=#dom-canvaspixelarray-set title=dom-CanvasPixelArray-set>IndexSetter</a>] interface <dfn id=canvaspixelarray>CanvasPixelArray</dfn> { readonly attribute unsigned long <a href=#dom-canvaspixelarray-length title=dom-canvaspixelarray-length>length</a>; };</pre><p>The <dfn id=dom-context-2d-canvas title=dom-context-2d-canvas><code>canvas</code></dfn> @@ -17147,11 +17147,11 @@ <dfn id=dom-canvaspixelarray-length title=dom-canvaspixelarray-length><code>length</code></dfn> attribute of a <code><a href=#canvaspixelarray>CanvasPixelArray</a></code> object must return this number.<p>The object's <span>indices of the supported indexed - properties</span> are the numbers in the range 0 .. <span><var title="">h</var>×<var title="">w</var>×4-1</span>.<p>When a <code><a href=#canvaspixelarray>CanvasPixelArray</a></code> object is indexed to - retrieve an indexed property <var title="">index</var>, the value - returned must be the value of the <var title="">index</var>th - component in the array.<p>When a <code><a href=#canvaspixelarray>CanvasPixelArray</a></code> object is indexed to modify - an indexed property <var title="">index</var> with value <var title="">value</var>, the value of the <var title="">index</var>th + properties</span> are the numbers in the range 0 .. <span><var title="">h</var>×<var title="">w</var>×4-1</span>.<p>When a <code><a href=#canvaspixelarray>CanvasPixelArray</a></code> object is <dfn id=dom-canvaspixelarray-get title=dom-CanvasPixelArray-get>indexed to retrieve an indexed + property</dfn> <var title="">index</var>, the value returned must be + the value of the <var title="">index</var>th component in the + array.<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
Received on Tuesday, 13 January 2009 11:59:55 UTC