Skip to content

Commit

Permalink
[] (0) Make CanvasGradient use the 'octet' type, and other minor fixe…
Browse files Browse the repository at this point in the history
…s. (credit: #developers)

git-svn-id: http://svn.whatwg.org/webapps@2061 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 12, 2008
1 parent 4995113 commit f0e5ab6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
10 changes: 7 additions & 3 deletions index
Expand Up @@ -8793,7 +8793,7 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<code>Element</code> nodes as well as <code>Document</code> nodes. The
<code title=dom-outerHTML><a href="#outerhtml">outerHTML</a></code> and
<code title=dom-insertAdjacentHTML><a
href="#insertadjacenthtml">insertAdjacentHTML</a></code> members, on the
href="#insertadjacenthtml">insertAdjacentHTML()</a></code> members, on the
other hand, only apply to <code>Element</code> nodes.

<p class=note>When inserted using the <code title=dom-document-write><a
Expand Down Expand Up @@ -21278,8 +21278,8 @@ interface <dfn id=imagedata>ImageData</dfn> {

interface <dfn id=canvaspixelarray>CanvasPixelArray</dfn> {
readonly attribute unsigned long <a href="#length5" title=dom-canvaspixelarray-length>length</a>;
[IndexGetter] <span>float</span> <span title=dom-XXX5>XXX5</span>(in unsigned long index); <!-- XXX DOMB -->
[IndexSetter] void <span title=dom-XXX6>XXX6</span>(in unsigned long index, in float value); <!-- XXX DOMB -->
[IndexGetter] <span>octet</span> <a href="#xxx5index" title=dom-canvaspixelarray-XXX5>XXX5</a>(in unsigned long index); <!-- XXX DOMB -->
[IndexSetter] void <a href="#xxx6index" title=dom-canvaspixelarray-XXX6>XXX6</a>(in unsigned long index, in octet value); <!-- XXX DOMB -->
};</pre>

<p>The <dfn id=canvas0
Expand Down Expand Up @@ -23126,6 +23126,10 @@ XXXDVT (also check for '- -' bits in the part above) -->
mode. <a href="#refsECMA262">[ECMA262]</a> <a
href="#refsIEEE754r">[IEEE754R]</a>

<p class=big-issue>The above is not intended to cause these methods to get
any unusual behaviour, it's just supposed to be the normal behaviour for
passing values to a method expecting an <code title="">octet</code> type.

<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 the canvas
Expand Down
13 changes: 9 additions & 4 deletions source
Expand Up @@ -6685,8 +6685,8 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
attribute applies to both <code>Element</code> nodes as well as
<code>Document</code> nodes. The <code
title="dom-outerHTML">outerHTML</code> and <code
title="dom-insertAdjacentHTML">insertAdjacentHTML</code> members, on
the other hand, only apply to <code>Element</code> nodes.</p>
title="dom-insertAdjacentHTML">insertAdjacentHTML()</code> members,
on the other hand, only apply to <code>Element</code> nodes.</p>

<p class="note">When inserted using the <code
title="dom-document-write">document.write()</code> method,
Expand Down Expand Up @@ -18509,8 +18509,8 @@ interface <dfn>ImageData</dfn> {

interface <dfn>CanvasPixelArray</dfn> {
readonly attribute unsigned long <span title="dom-canvaspixelarray-length">length</span>;
[IndexGetter] <span>float</span> <span title="dom-XXX5">XXX5</span>(in unsigned long index); <!-- XXX DOMB -->
[IndexSetter] void <span title="dom-XXX6">XXX6</span>(in unsigned long index, in float value); <!-- XXX DOMB -->
[IndexGetter] <span>octet</span> <span title="dom-canvaspixelarray-XXX5">XXX5</span>(in unsigned long index); <!-- XXX DOMB -->
[IndexSetter] void <span title="dom-canvaspixelarray-XXX6">XXX6</span>(in unsigned long index, in octet value); <!-- XXX DOMB -->
};</pre>

<p>The <dfn title="dom-context-2d-canvas"><code>canvas</code></dfn>
Expand Down Expand Up @@ -20398,6 +20398,11 @@ XXXDVT (also check for '- -' bits in the part above) -->
rounding mode. <a href="#refsECMA262">[ECMA262]</a> <a
href="#refsIEEE754r">[IEEE754R]</a></p>

<p class="big-issue">The above is not intended to cause these
methods to get any unusual behaviour, it's just supposed to be the
normal behaviour for passing values to a method expecting an <code
title="">octet</code> type.</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
Expand Down

0 comments on commit f0e5ab6

Please sign in to comment.