[html5] r809 - /

whatwg at whatwg.org whatwg at whatwg.org
Fri May 11 16:20:39 PDT 2007


Author: ianh
Date: 2007-05-11 16:20:38 -0700 (Fri, 11 May 2007)
New Revision: 809

Modified:
   index
   source
Log:
[e] (2) Minor editorial fixes in the canvas section

Modified: index
===================================================================
--- index	2007-05-11 23:16:18 UTC (rev 808)
+++ index	2007-05-11 23:20:38 UTC (rev 809)
@@ -15351,7 +15351,7 @@
          attribute unsigned long <a href="#width4" title=dom-canvas-width>width</a>;
          attribute unsigned long <a href="#height4" title=dom-canvas-height>height</a>;
 
-  DOMString <a href="#todataurl" title=dom-canvas-toDataURL>toDataURL()</a>;
+  DOMString <a href="#todataurl" title=dom-canvas-toDataURL>toDataURL</a>();
   DOMString <a href="#todataurl0" title=dom-canvas-toDataURL-type>toDataURL</a>(in DOMString type);
 
   DOMObject <a href="#getcontext" title=dom-canvas-getContext>getContext</a>(in DOMString contextID);
@@ -15534,8 +15534,8 @@
   <pre
    class=idl>interface <dfn id=canvasrenderingcontext2d>CanvasRenderingContext2D</dfn> {
 
-  // back-reference to the canvas readonly attribute
-  <a href="#htmlcanvaselement">HTMLCanvasElement</a> <a href="#canvas0" title=dom-context-2d-canvas>canvas</a>;
+  // back-reference to the canvas
+  readonly attribute <a href="#htmlcanvaselement">HTMLCanvasElement</a> <a href="#canvas0" title=dom-context-2d-canvas>canvas</a>;
 
   // state
   void <a href="#save" title=dom-context-2d-save>save</a>(); // push state on state stack
@@ -15693,8 +15693,8 @@
   described in "drawing model" below -->
 
   <p>When the context is created, the transformation matrix must initially be
-   the identity transform. It may then be adjusted using the three
-   transformation methods.
+   the identity transform. It may then be adjusted using the transformation
+   methods.
 
   <p>The transformations must be performed in reverse order. For instance, if
    a scale transformation that doubles the width is applied, followed by a
@@ -15852,7 +15852,7 @@
 
    <dt><dfn id=darker title=gcop-darker><code>darker</code></dfn>
 
-   <dd>Display the sum of the source image and destination images, with color
+   <dd>Display the sum of the source image and destination image, with color
     values approaching 0 as a limit.
 
    <dt><dfn id=lighter title=gcop-lighter><code>lighter</code></dfn>
@@ -15866,7 +15866,7 @@
 
    <dt><dfn id=xor title=gcop-xor><code>xor</code></dfn>
 
-   <dd>Exclusive OR of the source and destination images.
+   <dd>Exclusive OR of the source image and destination image.
 
    <dt><code><var title="">vendorName</var>-<var
     title="">operationName</var></code>

Modified: source
===================================================================
--- source	2007-05-11 23:16:18 UTC (rev 808)
+++ source	2007-05-11 23:20:38 UTC (rev 809)
@@ -12933,7 +12933,7 @@
          attribute unsigned long <span title="dom-canvas-width">width</span>;
          attribute unsigned long <span title="dom-canvas-height">height</span>;
 
-  DOMString <span title="dom-canvas-toDataURL">toDataURL()</span>;
+  DOMString <span title="dom-canvas-toDataURL">toDataURL</span>();
   DOMString <span title="dom-canvas-toDataURL-type">toDataURL</span>(in DOMString type);
 
   DOMObject <span title="dom-canvas-getContext">getContext</span>(in DOMString contextID);
@@ -13116,9 +13116,8 @@
 
   <pre class="idl">interface <dfn>CanvasRenderingContext2D</dfn> {
 
-  // back-reference to the canvas readonly attribute
-  <span>HTMLCanvasElement</span> <span
-  title="dom-context-2d-canvas">canvas</span>;
+  // back-reference to the canvas
+  readonly attribute <span>HTMLCanvasElement</span> <span title="dom-context-2d-canvas">canvas</span>;
 
   // state
   void <span title="dom-context-2d-save">save</span>(); // push state on state stack
@@ -13267,7 +13266,7 @@
 
   <p>When the context is created, the transformation matrix must
   initially be the identity transform. It may then be adjusted using
-  the three transformation methods.</p>
+  the transformation methods.</p>
 
   <p>The transformations must be performed in reverse order. For
   instance, if a scale transformation that doubles the width is
@@ -13421,7 +13420,7 @@
 
    <dt><dfn title="gcop-darker"><code>darker</code></dfn></dt>
 
-   <dd>Display the sum of the source image and destination images,
+   <dd>Display the sum of the source image and destination image,
    with color values approaching 0 as a limit.</dd>
 
    <dt><dfn title="gcop-lighter"><code>lighter</code></dfn></dt>
@@ -13437,7 +13436,7 @@
 
    <dt><dfn title="gcop-xor"><code>xor</code></dfn></dt>
 
-   <dd>Exclusive OR of the source and destination images.</dd>
+   <dd>Exclusive OR of the source image and destination image.</dd>
 
 
    <dt><code><var title="">vendorName</var>-<var title="">operationName</var></code></dt>




More information about the Commit-Watchers mailing list