[html5] r1187 - /

whatwg at whatwg.org whatwg at whatwg.org
Thu Jan 31 16:39:26 PST 2008


Author: ianh
Date: 2008-01-31 16:39:22 -0800 (Thu, 31 Jan 2008)
New Revision: 1187

Modified:
   index
   source
Log:
[gow] (2) Define arc() in odd situations better.

Modified: index
===================================================================
--- index	2008-01-31 23:40:53 UTC (rev 1186)
+++ index	2008-02-01 00:39:22 UTC (rev 1187)
@@ -24,7 +24,7 @@
 
    <h1 id=html-5>HTML 5</h1>
 
-   <h2 class="no-num no-toc" id=working>Working Draft — 31 January 2008</h2>
+   <h2 class="no-num no-toc" id=working>Working Draft — 1 February 2008</h2>
 
    <p>You can take part in this work. <a
     href="http://www.whatwg.org/mailing-list">Join the working group's
@@ -17272,9 +17272,13 @@
    positive x-axis, are the start and end points respectively. The arc is the
    path along the circumference of this circle from the start point to the
    end point, going anti-clockwise if the <var title="">anticlockwise</var>
-   argument is true, and clockwise otherwise.
+   argument is true, and clockwise otherwise. Since the points are on the
+   circle, as opposed to being simply angles from zero, the arc can never
+   cover an angle greater than 2π radians. If the two angles are equal, or
+   if the radius is zero, then the arc is defined as being of zero length in
+   both directions.
 
-  <p>Negative or zero values for <var title="">radius</var> must cause the
+  <p>Negative values for <var title="">radius</var> must cause the
    implementation to raise an <code>INDEX_SIZE_ERR</code> exception.
 
   <p>The <dfn id=rectx title=dom-context-2d-rect><code>rect(<var

Modified: source
===================================================================
--- source	2008-01-31 23:40:53 UTC (rev 1186)
+++ source	2008-02-01 00:39:22 UTC (rev 1187)
@@ -14848,10 +14848,14 @@
   start and end points respectively. The arc is the path along the
   circumference of this circle from the start point to the end point,
   going anti-clockwise if the <var title="">anticlockwise</var>
-  argument is true, and clockwise otherwise.</p>
+  argument is true, and clockwise otherwise. Since the points are on
+  the circle, as opposed to being simply angles from zero, the arc can
+  never cover an angle greater than 2π radians. If the two angles
+  are equal, or if the radius is zero, then the arc is defined as
+  being of zero length in both directions.</p>
 
-  <p>Negative or zero values for <var title="">radius</var> must cause
-  the implementation to raise an <code>INDEX_SIZE_ERR</code>
+  <p>Negative values for <var title="">radius</var> must cause the
+  implementation to raise an <code>INDEX_SIZE_ERR</code>
   exception.</p>
 
 




More information about the Commit-Watchers mailing list