[html5] r1178 - /

whatwg at whatwg.org whatwg at whatwg.org
Wed Jan 30 18:27:21 PST 2008


Author: ianh
Date: 2008-01-30 18:27:18 -0800 (Wed, 30 Jan 2008)
New Revision: 1178

Modified:
   index
   source
Log:
[e] (1) Minor edits to the rectangle methods of the canvas section.

Modified: index
===================================================================
--- index	2008-01-31 02:02:12 UTC (rev 1177)
+++ index	2008-01-31 02:27:18 UTC (rev 1178)
@@ -16999,21 +16999,25 @@
    raise an <code>INDEX_SIZE_ERR</code> exception.
 
   <p>The <dfn id=clearrect
-   title=dom-context-2d-clearRect><code>clearRect()</code></dfn> method must
-   clear the pixels in the specified rectangle that also intersect the
-   current clipping path to a fully transparent black, erasing any previous
-   image. If either height or width are zero, this method has no effect.
+   title=dom-context-2d-clearRect><code>clearRect(<var title="">x</var>, <var
+   title="">y</var>, <var title="">w</var>, <var
+   title="">h</var>)</code></dfn> method must clear the pixels in the
+   specified rectangle that also intersect the current clipping path to a
+   fully transparent black, erasing any previous image. If either height or
+   width are zero, this method has no effect.
 
-  <p>The <dfn id=fillrect
-   title=dom-context-2d-fillRect><code>fillRect()</code></dfn> method must
-   paint the specified rectangular area using the <code
-   title=dom-context-2d-fillStyle><a href="#fillstyle">fillStyle</a></code>.
-   If either height or width are zero, this method has no effect.
+  <p>The <dfn id=fillrect title=dom-context-2d-fillRect><code>fillRect(<var
+   title="">x</var>, <var title="">y</var>, <var title="">w</var>, <var
+   title="">h</var>)</code></dfn> method must paint the specified rectangular
+   area using the <code title=dom-context-2d-fillStyle><a
+   href="#fillstyle">fillStyle</a></code>. If either height or width are
+   zero, this method has no effect.
 
   <p>The <dfn id=strokerect
-   title=dom-context-2d-strokeRect><code>strokeRect()</code></dfn> method
-   must stroke the specified rectangle's path using the <code
-   title=dom-context-2d-strokeStyle><a
+   title=dom-context-2d-strokeRect><code>strokeRect(<var title="">x</var>,
+   <var title="">y</var>, <var title="">w</var>, <var
+   title="">h</var>)</code></dfn> method must stroke the specified
+   rectangle's path using the <code title=dom-context-2d-strokeStyle><a
    href="#strokestyle">strokeStyle</a></code>, <code
    title=dom-context-2d-lineWidth><a href="#linewidth">lineWidth</a></code>,
    <code title=dom-context-2d-lineJoin><a

Modified: source
===================================================================
--- source	2008-01-31 02:02:12 UTC (rev 1177)
+++ source	2008-01-31 02:27:18 UTC (rev 1178)
@@ -14556,23 +14556,25 @@
   implementation to raise an <code>INDEX_SIZE_ERR</code>
   exception.</p>
 
-  <p>The <dfn
-  title="dom-context-2d-clearRect"><code>clearRect()</code></dfn>
-  method must clear the pixels in the specified rectangle that also
-  intersect the current clipping path to a fully transparent black,
-  erasing any previous image. If either height or width are zero, this
-  method has no effect.</p>
+  <p>The <dfn title="dom-context-2d-clearRect"><code>clearRect(<var
+  title="">x</var>, <var title="">y</var>, <var title="">w</var>, <var
+  title="">h</var>)</code></dfn> method must clear the pixels in the
+  specified rectangle that also intersect the current clipping path to
+  a fully transparent black, erasing any previous image. If either
+  height or width are zero, this method has no effect.</p>
 
-  <p>The <dfn
-  title="dom-context-2d-fillRect"><code>fillRect()</code></dfn> method
-  must paint the specified rectangular area using the <code
+  <p>The <dfn title="dom-context-2d-fillRect"><code>fillRect(<var
+  title="">x</var>, <var title="">y</var>, <var title="">w</var>, <var
+  title="">h</var>)</code></dfn> method must paint the specified
+  rectangular area using the <code
   title="dom-context-2d-fillStyle">fillStyle</code>. If either height
   or width are zero, this method has no effect.</p>
 
-  <p>The <dfn
-  title="dom-context-2d-strokeRect"><code>strokeRect()</code></dfn>
-  method must stroke the specified rectangle's path using the
-  <code title="dom-context-2d-strokeStyle">strokeStyle</code>, <code
+  <p>The <dfn title="dom-context-2d-strokeRect"><code>strokeRect(<var
+  title="">x</var>, <var title="">y</var>, <var title="">w</var>, <var
+  title="">h</var>)</code></dfn> method must stroke the specified
+  rectangle's path using the <code
+  title="dom-context-2d-strokeStyle">strokeStyle</code>, <code
   title="dom-context-2d-lineWidth">lineWidth</code>, <code
   title="dom-context-2d-lineJoin">lineJoin</code>, and (if
   appropriate) <code




More information about the Commit-Watchers mailing list