[html5] r8588 - [giow] (2) Make clear in what order rect() should drop its points. Affected topi [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Apr 29 15:32:08 PDT 2014


Author: ianh
Date: 2014-04-29 15:32:03 -0700 (Tue, 29 Apr 2014)
New Revision: 8588

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Make clear in what order rect() should drop its points.
Affected topics: Canvas

Modified: complete.html
===================================================================
--- complete.html	2014-04-29 21:56:48 UTC (rev 8587)
+++ complete.html	2014-04-29 22:32:03 UTC (rev 8588)
@@ -56949,12 +56949,11 @@
   <p>Negative values for <var title="">radiusX</var> or <var title="">radiusY</var> must cause the
   implementation to throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception.</p>
 
-  <hr><p>The <dfn id=dom-context-2d-rect title=dom-context-2d-rect><code>rect(<var title="">x</var>, <var title="">y</var>,
+  <hr><!--CLEANUP--><p>The <dfn id=dom-context-2d-rect title=dom-context-2d-rect><code>rect(<var title="">x</var>, <var title="">y</var>,
   <var title="">w</var>, <var title="">h</var>)</code></dfn> method must create a new subpath
-  containing just the four points (<var title="">x</var>, <var title="">y</var>), (<var title="">x</var>+<var title="">w</var>, <var title="">y</var>), (<var title="">x</var>+<var title="">w</var>, <var title="">y</var>+<var title="">h</var>), (<var title="">x</var>, <var title="">y</var>+<var title="">h</var>), with those four points connected by straight lines, and
+  containing just the four points (<var title="">x</var>, <var title="">y</var>), (<var title="">x</var>+<var title="">w</var>, <var title="">y</var>), (<var title="">x</var>+<var title="">w</var>, <var title="">y</var>+<var title="">h</var>), (<var title="">x</var>, <var title="">y</var>+<var title="">h</var>), in that order, with those four points connected by straight lines, and
   must then mark the subpath as closed. It must then create a new subpath with the point (<var title="">x</var>, <var title="">y</var>) as the only point in the subpath.</p>
 
-
   <!-- v6 feature request:
         * points as a primitive shape
           http://home.comcast.net/~urbanjost/canvas/vogle4.html

Modified: index
===================================================================
--- index	2014-04-29 21:56:48 UTC (rev 8587)
+++ index	2014-04-29 22:32:03 UTC (rev 8588)
@@ -56949,12 +56949,11 @@
   <p>Negative values for <var title="">radiusX</var> or <var title="">radiusY</var> must cause the
   implementation to throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception.</p>
 
-  <hr><p>The <dfn id=dom-context-2d-rect title=dom-context-2d-rect><code>rect(<var title="">x</var>, <var title="">y</var>,
+  <hr><!--CLEANUP--><p>The <dfn id=dom-context-2d-rect title=dom-context-2d-rect><code>rect(<var title="">x</var>, <var title="">y</var>,
   <var title="">w</var>, <var title="">h</var>)</code></dfn> method must create a new subpath
-  containing just the four points (<var title="">x</var>, <var title="">y</var>), (<var title="">x</var>+<var title="">w</var>, <var title="">y</var>), (<var title="">x</var>+<var title="">w</var>, <var title="">y</var>+<var title="">h</var>), (<var title="">x</var>, <var title="">y</var>+<var title="">h</var>), with those four points connected by straight lines, and
+  containing just the four points (<var title="">x</var>, <var title="">y</var>), (<var title="">x</var>+<var title="">w</var>, <var title="">y</var>), (<var title="">x</var>+<var title="">w</var>, <var title="">y</var>+<var title="">h</var>), (<var title="">x</var>, <var title="">y</var>+<var title="">h</var>), in that order, with those four points connected by straight lines, and
   must then mark the subpath as closed. It must then create a new subpath with the point (<var title="">x</var>, <var title="">y</var>) as the only point in the subpath.</p>
 
-
   <!-- v6 feature request:
         * points as a primitive shape
           http://home.comcast.net/~urbanjost/canvas/vogle4.html

Modified: source
===================================================================
--- source	2014-04-29 21:56:48 UTC (rev 8587)
+++ source	2014-04-29 22:32:03 UTC (rev 8588)
@@ -63248,16 +63248,16 @@
 
   <hr>
 
+<!--CLEANUP-->
   <p>The <dfn data-x="dom-context-2d-rect"><code>rect(<var data-x="">x</var>, <var data-x="">y</var>,
   <var data-x="">w</var>, <var data-x="">h</var>)</code></dfn> method must create a new subpath
   containing just the four points (<var data-x="">x</var>, <var data-x="">y</var>), (<var
   data-x="">x</var>+<var data-x="">w</var>, <var data-x="">y</var>), (<var data-x="">x</var>+<var
   data-x="">w</var>, <var data-x="">y</var>+<var data-x="">h</var>), (<var data-x="">x</var>, <var
-  data-x="">y</var>+<var data-x="">h</var>), with those four points connected by straight lines, and
+  data-x="">y</var>+<var data-x="">h</var>), in that order, with those four points connected by straight lines, and
   must then mark the subpath as closed. It must then create a new subpath with the point (<var
   data-x="">x</var>, <var data-x="">y</var>) as the only point in the subpath.</p>
 
-
   <!-- v6 feature request:
         * points as a primitive shape
           http://home.comcast.net/~urbanjost/canvas/vogle4.html




More information about the Commit-Watchers mailing list