Skip to content

Commit

Permalink
[e] (0) Add a non-normative note that repeats the normative text in a…
Browse files Browse the repository at this point in the history
… different way to be clear.

Affected topics: Canvas

git-svn-id: http://svn.whatwg.org/webapps@8567 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 7, 2014
1 parent bbc02c8 commit 3373391
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 6 deletions.
11 changes: 9 additions & 2 deletions complete.html
Expand Up @@ -59388,8 +59388,15 @@ <h6 id=pixel-manipulation><span class=secno>4.12.4.2.16 </span><dfn>Pixel manipu
<var title="">height</var>, then throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these
steps.</li>

<li><p>Return a new <code><a href=#imagedata>ImageData</a></code> object whose width is <var title="">sw</var>, whose
height is <var title="">height</var>, and whose data is <var title="">source</var>.</li>
<li>

<p>Return a new <code><a href=#imagedata>ImageData</a></code> object whose width is <var title="">sw</var>, whose
height is <var title="">height</var>, and whose data is <var title="">source</var>.</p>

<p class=note>The resulting object's data is not a <em>copy</em> of <var title="">source</var>, it's the actual <code><a href=#uint8clampedarray>Uint8ClampedArray</a></code> object passed as the
first argument to the constructor.</p>

</li>

</ol><p>When the <code title=dom-context-2d-createImageData><a href=#dom-context-2d-createimagedata>createImageData()</a></code> method is
invoked with two numeric arguments <var title="">sw</var> and <var title="">sh</var>, it must
Expand Down
11 changes: 9 additions & 2 deletions index
Expand Up @@ -59388,8 +59388,15 @@ partial dictionary <a href=#mouseeventinit>MouseEventInit</a> {
<var title="">height</var>, then throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these
steps.</li>

<li><p>Return a new <code><a href=#imagedata>ImageData</a></code> object whose width is <var title="">sw</var>, whose
height is <var title="">height</var>, and whose data is <var title="">source</var>.</li>
<li>

<p>Return a new <code><a href=#imagedata>ImageData</a></code> object whose width is <var title="">sw</var>, whose
height is <var title="">height</var>, and whose data is <var title="">source</var>.</p>

<p class=note>The resulting object's data is not a <em>copy</em> of <var title="">source</var>, it's the actual <code><a href=#uint8clampedarray>Uint8ClampedArray</a></code> object passed as the
first argument to the constructor.</p>

</li>

</ol><p>When the <code title=dom-context-2d-createImageData><a href=#dom-context-2d-createimagedata>createImageData()</a></code> method is
invoked with two numeric arguments <var title="">sw</var> and <var title="">sh</var>, it must
Expand Down
12 changes: 10 additions & 2 deletions source
Expand Up @@ -66152,8 +66152,16 @@ partial dictionary <span>MouseEventInit</span> {
<var data-x="">height</var>, then throw an <code>IndexSizeError</code> exception and abort these
steps.</p></li>

<li><p>Return a new <code>ImageData</code> object whose width is <var data-x="">sw</var>, whose
height is <var data-x="">height</var>, and whose data is <var data-x="">source</var>.</p></li>
<li>

<p>Return a new <code>ImageData</code> object whose width is <var data-x="">sw</var>, whose
height is <var data-x="">height</var>, and whose data is <var data-x="">source</var>.</p>

<p class="note">The resulting object's data is not a <em>copy</em> of <var
data-x="">source</var>, it's the actual <code>Uint8ClampedArray</code> object passed as the
first argument to the constructor.</p>

</li>

</ol>

Expand Down

0 comments on commit 3373391

Please sign in to comment.