[html5] r2061 - [] (0) Make CanvasGradient use the 'octet' type, and other minor fixes. (credit: [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Aug 12 15:27:50 PDT 2008


Author: ianh
Date: 2008-08-12 15:27:49 -0700 (Tue, 12 Aug 2008)
New Revision: 2061

Modified:
   index
   source
Log:
[] (0) Make CanvasGradient use the 'octet' type, and other minor fixes. (credit: #developers)

Modified: index
===================================================================
--- index	2008-08-12 10:25:42 UTC (rev 2060)
+++ index	2008-08-12 22:27:49 UTC (rev 2061)
@@ -8793,7 +8793,7 @@
    <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
@@ -21278,8 +21278,8 @@
 
 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
@@ -23126,6 +23126,10 @@
    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

Modified: source
===================================================================
--- source	2008-08-12 10:25:42 UTC (rev 2060)
+++ source	2008-08-12 22:27:49 UTC (rev 2061)
@@ -6685,8 +6685,8 @@
   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,
@@ -18509,8 +18509,8 @@
 
 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>
@@ -20398,6 +20398,11 @@
   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




More information about the Commit-Watchers mailing list