Short URL: http://html5.org/r/1760
| SVN | Bug | Comment | Time (UTC) |
|---|---|---|---|
| 1760 | 2008-06-13 01:57 |
Index: source =================================================================== --- source (revision 1759) +++ source (revision 1760) @@ -16445,8 +16445,8 @@ <var title="">y0</var>) and end point (<var title="">x1</var>, <var title="">y1</var>) of the gradient. If any of the arguments to <code title="dom-context-2d-createLinearGradient">createLinearGradient()</code> - are infinite or NaN, the method must raise an - <code>INDEX_SIZE_ERR</code> exception. Otherwise, the method must + are infinite or NaN, the method must raise a + <code>NOT_SUPPORTED_ERR</code> exception. Otherwise, the method must return a linear <code>CanvasGradient</code> initialized with the specified line.</p> @@ -16475,12 +16475,13 @@ title="">r0</var>, and the last three representing the end circle with origin (<var title="">x1</var>, <var title="">y1</var>) and radius <var title="">r1</var>. The values are in coordinate space - units. If either of <var title="">r0</var> or <var title="">r1</var> - are negative, or if any of the arguments are infinite or NaN, an - <code>INDEX_SIZE_ERR</code> exception must be raised. Otherwise, the - method must return a radial <code>CanvasGradient</code> initialized - with the two specified circles, after transforming them according to - the <span title="dom-context-2d-transformation">current + units. If any of the arguments are infinite or NaN, a + <code>NOT_SUPPORTED_ERR</code> exception must be raised. If either + of <var title="">r0</var> or <var title="">r1</var> are negative, an + <code>INDEX_SIZE_ERR</code> exception must be raised. Otherwise, + the method must return a radial <code>CanvasGradient</code> + initialized with the two specified circles, after transforming them + according to the <span title="dom-context-2d-transformation">current transformation matrix</span>.</p> <p>Radial gradients must be rendered by following these steps:</p> @@ -17860,9 +17861,11 @@ <p>If any of the arguments to <code title="dom-context-2d-createImageData">createImageData()</code> or <code title="dom-context-2d-getImageData">getImageData()</code> are - infinite or NaN, or if either the <var title="">sw</var> or <var - title="">sh</var> arguments are zero, the method must instead raise - an <code>INDEX_SIZE_ERR</code> exception.</p> + infinite or NaN, the method must instead raise a + <code>NOT_SUPPORTED_ERR</code> exception. If either the <var + title="">sw</var> or <var title="">sh</var> arguments are zero, the + method must instead raise an <code>INDEX_SIZE_ERR</code> + exception.</p> <p><code>ImageData</code> objects must be initialized so that their <dfn title="dom-imagedata-width"><code>width</code></dfn> attribute @@ -17924,14 +17927,14 @@ title="">dirtyHeight</var>)</code></dfn> method writes data from <code>ImageData</code> structures back to the canvas.</p> + <p>If any of the arguments to the method are infinite or NaN, the + method must raise an <code>NOT_SUPPORTED_ERR</code> exception.</p> + <p>If the first argument to the method is null or not an <code>ImageData</code> object then the <code title="dom-context-2d-putImageData">putImageData()</code> method must raise a <code>TYPE_MISMATCH_ERR</code> exception.</p> - <p>If any of the arguments to the method are infinite or NaN, the - method must raise an <code>INDEX_SIZE_ERR</code> exception.</p> - <p>When the last four arguments are omitted, they must be assumed to have the values 0, 0, the <code title="dom-imagedata-width">width</code> member of the <var