[html5] r6133 - [e] (0) categorise most canvas v5 features as v6 in preparation for adding toBlob()

whatwg at whatwg.org whatwg at whatwg.org
Thu May 12 12:51:31 PDT 2011


Author: ianh
Date: 2011-05-12 12:51:30 -0700 (Thu, 12 May 2011)
New Revision: 6133

Modified:
   complete.html
   index
   source
Log:
[e] (0) categorise most canvas v5 features as v6 in preparation for adding toBlob()

Modified: complete.html
===================================================================
--- complete.html	2011-05-12 19:14:27 UTC (rev 6132)
+++ complete.html	2011-05-12 19:51:30 UTC (rev 6133)
@@ -34159,7 +34159,7 @@
 
   <h5 id=2dcontext><span class=secno>4.8.11.1 </span>The 2D context</h5>
 
-  <!-- v2: we're on v4.1. suggestions for next version are marked v5. -->
+  <!-- v2: we're on v4.1. suggestions for next version are marked v5, v6. -->
 
   
 
@@ -34189,7 +34189,7 @@
   void <a href=#dom-context-2d-save title=dom-context-2d-save>save</a>(); // push state on state stack
   void <a href=#dom-context-2d-restore title=dom-context-2d-restore>restore</a>(); // pop state stack and restore state
 <!--
-  // v5 we've also received requests for:
+  // v6 we've also received requests for:
           attribute boolean <span title="dom-context-2d-forceHighQuality">forceHighQuality</span> // (default false)
   // when enabled, it would prevent the UA from falling back on lower-quality but faster rendering routines
   // useful e.g. for when an image manipulation app uses <canvas> both for UI previews and the actual work
@@ -34201,7 +34201,7 @@
   void <a href=#dom-context-2d-transform title=dom-context-2d-transform>transform</a>(in double a, in double b, in double c, in double d, in double e, in double f);
   void <a href=#dom-context-2d-settransform title=dom-context-2d-setTransform>setTransform</a>(in double a, in double b, in double c, in double d, in double e, in double f);
 <!--
-  // v5 we've also received requests for:
+  // v6 we've also received requests for:
   void skew(...);
   void reflect(...); // or mirror(...)
 -->
@@ -34209,7 +34209,7 @@
            attribute double <a href=#dom-context-2d-globalalpha title=dom-context-2d-globalAlpha>globalAlpha</a>; // (default 1.0)
            attribute DOMString <a href=#dom-context-2d-globalcompositeoperation title=dom-context-2d-globalCompositeOperation>globalCompositeOperation</a>; // (default source-over)
 <!--
-  // v5 we've also received requests for:
+  // v6 we've also received requests for:
   - turning off antialiasing to avoid seams when patterns are painted next to each other
     - might be better to overdraw?
     - might be better to just draw at a higher res then downsample, like for 3d?
@@ -34266,7 +34266,7 @@
            attribute DOMString <a href=#dom-context-2d-textalign title=dom-context-2d-textAlign>textAlign</a>; // "start", "end", "left", "right", "center" (default: "start")
            attribute DOMString <a href=#dom-context-2d-textbaseline title=dom-context-2d-textBaseline>textBaseline</a>; // "top", "hanging", "middle", "alphabetic", "ideographic", "bottom" (default: "alphabetic")
   void <a href=#dom-context-2d-filltext title=dom-context-2d-fillText>fillText</a>(in DOMString text, in double x, in double y, in optional double maxWidth);
-  void <a href=#dom-context-2d-stroketext title=dom-context-2d-strokeText>strokeText</a>(in DOMString text, in double x, in double y, in optional double maxWidth);<!-- v5DVT
+  void <a href=#dom-context-2d-stroketext title=dom-context-2d-strokeText>strokeText</a>(in DOMString text, in double x, in double y, in optional double maxWidth);<!-- v6DVT
   void <span title="dom-context-2d-fillVerticalText">fillVerticalText</span>(in DOMString text, in double x, in double y, in optional double maxHeight);
   void <span title="dom-context-2d-strokeVerticalText">strokeVerticalText</span>(in DOMString text, in double x, in double y, in optional double maxHeight); -->
   <a href=#textmetrics>TextMetrics</a> <a href=#dom-context-2d-measuretext title=dom-context-2d-measureText>measureText</a>(in DOMString text);
@@ -34410,7 +34410,7 @@
   drawing state it describes. If there is no saved state, the method
   must do nothing.</p>
 
-  <!-- v5
+  <!-- v6
 idea from Mihai:
 > 5. Drawing states should be saveable with IDs, and for easier restoring.
 >
@@ -34734,7 +34734,7 @@
 
   </dl><div class=impl>
 
-  <!-- v5 feature requests:
+  <!-- v6 feature requests:
 
    * Getting and setting colours by component to bypass the CSS value parsing.
 
@@ -35075,7 +35075,7 @@
   <!-- drawImage() has an equivalent paragraph -->
 
   <!--
-   Requests for v5 features:
+   Requests for v6 features:
     * apply transforms to patterns, so you don't have to create
       transformed patterns manually by rendering them to an off-screen
       canvas then using that canvas as the pattern.
@@ -35235,7 +35235,7 @@
   initially have the value <code>10.0</code>.</p>
 
   <!--
-v5: dashed lines have been requested. Philip Taylor provides these
+v6: dashed lines have been requested. Philip Taylor provides these
 notes on what would need to be defined for dashed lines:
 > I don't think it's entirely trivial to add, to the detail that's
 > necessary in a specification. The common graphics APIs (at least
@@ -35774,7 +35774,7 @@
   a new subpath with the point (<var title="">x</var>, <var title="">y</var>) as the only point in the subpath.</p>
 
 
-  <!-- v5 feature request:
+  <!-- v6 feature request:
         * points as a primitive shape
           http://home.comcast.net/~urbanjost/canvas/vogle4.html
   -->
@@ -35922,7 +35922,7 @@
   to the rectangle with the top left corner at (0,0) and the width and
   height of the coordinate space.</p>
 
-  <!-- v5
+  <!-- v6
    Jordan OSETE suggests:
     * support ways of extending the clipping region (union instead of intersection)
        - also "add", "subtract", "replace", "intersect" and "xor"
@@ -36338,7 +36338,7 @@
 
    </li>
 
-  </ol><!--v5DVT - this is commented out until CSS can get its act together
+  </ol><!--v6DVT - this is commented out until CSS can get its act together
 enough to actual specify vertical text rendering (how long have we
 been waiting now?)
 
@@ -36488,7 +36488,7 @@
 
   </ol>
 
-v5DVT (also check for '- -' bits in the part above) --><p>The <dfn id=dom-context-2d-measuretext title=dom-context-2d-measureText><code>measureText()</code></dfn>
+v6DVT (also check for '- -' bits in the part above) --><p>The <dfn id=dom-context-2d-measuretext title=dom-context-2d-measureText><code>measureText()</code></dfn>
   method takes one argument, <var title="">text</var>. When the method
   is invoked, the user agent must replace all the <a href=#space-character title="space
   character">space characters</a> in <var title="">text</var> with
@@ -36517,8 +36517,8 @@
   area of the canvas that the clipping region covers, not just the box
   given by the em square height and measured text width.</p>
 
-  <!-- v5: Drawing text along a given path -->
-  <!-- v5: Adding text to a path -->
+  <!-- v6: Drawing text along a given path -->
+  <!-- v6: Adding text to a path -->
   <!-- see also: http://www.w3.org/TR/SVG11/text.html#TextpathLayoutRules -->
   <!-- see also: http://developer.mozilla.org/en/docs/Drawing_text_using_a_canvas -->
 

Modified: index
===================================================================
--- index	2011-05-12 19:14:27 UTC (rev 6132)
+++ index	2011-05-12 19:51:30 UTC (rev 6133)
@@ -34187,7 +34187,7 @@
 
   <h5 id=2dcontext><span class=secno>4.8.11.1 </span>The 2D context</h5>
 
-  <!-- v2: we're on v4.1. suggestions for next version are marked v5. -->
+  <!-- v2: we're on v4.1. suggestions for next version are marked v5, v6. -->
 
   
 
@@ -34217,7 +34217,7 @@
   void <a href=#dom-context-2d-save title=dom-context-2d-save>save</a>(); // push state on state stack
   void <a href=#dom-context-2d-restore title=dom-context-2d-restore>restore</a>(); // pop state stack and restore state
 <!--
-  // v5 we've also received requests for:
+  // v6 we've also received requests for:
           attribute boolean <span title="dom-context-2d-forceHighQuality">forceHighQuality</span> // (default false)
   // when enabled, it would prevent the UA from falling back on lower-quality but faster rendering routines
   // useful e.g. for when an image manipulation app uses <canvas> both for UI previews and the actual work
@@ -34229,7 +34229,7 @@
   void <a href=#dom-context-2d-transform title=dom-context-2d-transform>transform</a>(in double a, in double b, in double c, in double d, in double e, in double f);
   void <a href=#dom-context-2d-settransform title=dom-context-2d-setTransform>setTransform</a>(in double a, in double b, in double c, in double d, in double e, in double f);
 <!--
-  // v5 we've also received requests for:
+  // v6 we've also received requests for:
   void skew(...);
   void reflect(...); // or mirror(...)
 -->
@@ -34237,7 +34237,7 @@
            attribute double <a href=#dom-context-2d-globalalpha title=dom-context-2d-globalAlpha>globalAlpha</a>; // (default 1.0)
            attribute DOMString <a href=#dom-context-2d-globalcompositeoperation title=dom-context-2d-globalCompositeOperation>globalCompositeOperation</a>; // (default source-over)
 <!--
-  // v5 we've also received requests for:
+  // v6 we've also received requests for:
   - turning off antialiasing to avoid seams when patterns are painted next to each other
     - might be better to overdraw?
     - might be better to just draw at a higher res then downsample, like for 3d?
@@ -34294,7 +34294,7 @@
            attribute DOMString <a href=#dom-context-2d-textalign title=dom-context-2d-textAlign>textAlign</a>; // "start", "end", "left", "right", "center" (default: "start")
            attribute DOMString <a href=#dom-context-2d-textbaseline title=dom-context-2d-textBaseline>textBaseline</a>; // "top", "hanging", "middle", "alphabetic", "ideographic", "bottom" (default: "alphabetic")
   void <a href=#dom-context-2d-filltext title=dom-context-2d-fillText>fillText</a>(in DOMString text, in double x, in double y, in optional double maxWidth);
-  void <a href=#dom-context-2d-stroketext title=dom-context-2d-strokeText>strokeText</a>(in DOMString text, in double x, in double y, in optional double maxWidth);<!-- v5DVT
+  void <a href=#dom-context-2d-stroketext title=dom-context-2d-strokeText>strokeText</a>(in DOMString text, in double x, in double y, in optional double maxWidth);<!-- v6DVT
   void <span title="dom-context-2d-fillVerticalText">fillVerticalText</span>(in DOMString text, in double x, in double y, in optional double maxHeight);
   void <span title="dom-context-2d-strokeVerticalText">strokeVerticalText</span>(in DOMString text, in double x, in double y, in optional double maxHeight); -->
   <a href=#textmetrics>TextMetrics</a> <a href=#dom-context-2d-measuretext title=dom-context-2d-measureText>measureText</a>(in DOMString text);
@@ -34438,7 +34438,7 @@
   drawing state it describes. If there is no saved state, the method
   must do nothing.</p>
 
-  <!-- v5
+  <!-- v6
 idea from Mihai:
 > 5. Drawing states should be saveable with IDs, and for easier restoring.
 >
@@ -34762,7 +34762,7 @@
 
   </dl><div class=impl>
 
-  <!-- v5 feature requests:
+  <!-- v6 feature requests:
 
    * Getting and setting colours by component to bypass the CSS value parsing.
 
@@ -35103,7 +35103,7 @@
   <!-- drawImage() has an equivalent paragraph -->
 
   <!--
-   Requests for v5 features:
+   Requests for v6 features:
     * apply transforms to patterns, so you don't have to create
       transformed patterns manually by rendering them to an off-screen
       canvas then using that canvas as the pattern.
@@ -35263,7 +35263,7 @@
   initially have the value <code>10.0</code>.</p>
 
   <!--
-v5: dashed lines have been requested. Philip Taylor provides these
+v6: dashed lines have been requested. Philip Taylor provides these
 notes on what would need to be defined for dashed lines:
 > I don't think it's entirely trivial to add, to the detail that's
 > necessary in a specification. The common graphics APIs (at least
@@ -35802,7 +35802,7 @@
   a new subpath with the point (<var title="">x</var>, <var title="">y</var>) as the only point in the subpath.</p>
 
 
-  <!-- v5 feature request:
+  <!-- v6 feature request:
         * points as a primitive shape
           http://home.comcast.net/~urbanjost/canvas/vogle4.html
   -->
@@ -35950,7 +35950,7 @@
   to the rectangle with the top left corner at (0,0) and the width and
   height of the coordinate space.</p>
 
-  <!-- v5
+  <!-- v6
    Jordan OSETE suggests:
     * support ways of extending the clipping region (union instead of intersection)
        - also "add", "subtract", "replace", "intersect" and "xor"
@@ -36366,7 +36366,7 @@
 
    </li>
 
-  </ol><!--v5DVT - this is commented out until CSS can get its act together
+  </ol><!--v6DVT - this is commented out until CSS can get its act together
 enough to actual specify vertical text rendering (how long have we
 been waiting now?)
 
@@ -36516,7 +36516,7 @@
 
   </ol>
 
-v5DVT (also check for '- -' bits in the part above) --><p>The <dfn id=dom-context-2d-measuretext title=dom-context-2d-measureText><code>measureText()</code></dfn>
+v6DVT (also check for '- -' bits in the part above) --><p>The <dfn id=dom-context-2d-measuretext title=dom-context-2d-measureText><code>measureText()</code></dfn>
   method takes one argument, <var title="">text</var>. When the method
   is invoked, the user agent must replace all the <a href=#space-character title="space
   character">space characters</a> in <var title="">text</var> with
@@ -36545,8 +36545,8 @@
   area of the canvas that the clipping region covers, not just the box
   given by the em square height and measured text width.</p>
 
-  <!-- v5: Drawing text along a given path -->
-  <!-- v5: Adding text to a path -->
+  <!-- v6: Drawing text along a given path -->
+  <!-- v6: Adding text to a path -->
   <!-- see also: http://www.w3.org/TR/SVG11/text.html#TextpathLayoutRules -->
   <!-- see also: http://developer.mozilla.org/en/docs/Drawing_text_using_a_canvas -->
 

Modified: source
===================================================================
--- source	2011-05-12 19:14:27 UTC (rev 6132)
+++ source	2011-05-12 19:51:30 UTC (rev 6133)
@@ -37702,7 +37702,7 @@
 
   <h5 id="2dcontext">The 2D context</h5>
 
-  <!-- v2: we're on v4.1. suggestions for next version are marked v5. -->
+  <!-- v2: we're on v4.1. suggestions for next version are marked v5, v6. -->
 
   <!--START 2dcontext-->
 
@@ -37737,7 +37737,7 @@
   void <span title="dom-context-2d-save">save</span>(); // push state on state stack
   void <span title="dom-context-2d-restore">restore</span>(); // pop state stack and restore state
 <!--
-  // v5 we've also received requests for:
+  // v6 we've also received requests for:
           attribute boolean <span title="dom-context-2d-forceHighQuality">forceHighQuality</span> // (default false)
   // when enabled, it would prevent the UA from falling back on lower-quality but faster rendering routines
   // useful e.g. for when an image manipulation app uses <canvas> both for UI previews and the actual work
@@ -37749,7 +37749,7 @@
   void <span title="dom-context-2d-transform">transform</span>(in double a, in double b, in double c, in double d, in double e, in double f);
   void <span title="dom-context-2d-setTransform">setTransform</span>(in double a, in double b, in double c, in double d, in double e, in double f);
 <!--
-  // v5 we've also received requests for:
+  // v6 we've also received requests for:
   void skew(...);
   void reflect(...); // or mirror(...)
 -->
@@ -37757,7 +37757,7 @@
            attribute double <span title="dom-context-2d-globalAlpha">globalAlpha</span>; // (default 1.0)
            attribute DOMString <span title="dom-context-2d-globalCompositeOperation">globalCompositeOperation</span>; // (default source-over)
 <!--
-  // v5 we've also received requests for:
+  // v6 we've also received requests for:
   - turning off antialiasing to avoid seams when patterns are painted next to each other
     - might be better to overdraw?
     - might be better to just draw at a higher res then downsample, like for 3d?
@@ -37814,7 +37814,7 @@
            attribute DOMString <span title="dom-context-2d-textAlign">textAlign</span>; // "start", "end", "left", "right", "center" (default: "start")
            attribute DOMString <span title="dom-context-2d-textBaseline">textBaseline</span>; // "top", "hanging", "middle", "alphabetic", "ideographic", "bottom" (default: "alphabetic")
   void <span title="dom-context-2d-fillText">fillText</span>(in DOMString text, in double x, in double y, in optional double maxWidth);
-  void <span title="dom-context-2d-strokeText">strokeText</span>(in DOMString text, in double x, in double y, in optional double maxWidth);<!-- v5DVT
+  void <span title="dom-context-2d-strokeText">strokeText</span>(in DOMString text, in double x, in double y, in optional double maxWidth);<!-- v6DVT
   void <span title="dom-context-2d-fillVerticalText">fillVerticalText</span>(in DOMString text, in double x, in double y, in optional double maxHeight);
   void <span title="dom-context-2d-strokeVerticalText">strokeVerticalText</span>(in DOMString text, in double x, in double y, in optional double maxHeight); -->
   <span>TextMetrics</span> <span title="dom-context-2d-measureText">measureText</span>(in DOMString text);
@@ -37990,7 +37990,7 @@
   drawing state it describes. If there is no saved state, the method
   must do nothing.</p>
 
-  <!-- v5
+  <!-- v6
 idea from Mihai:
 > 5. Drawing states should be saveable with IDs, and for easier restoring.
 >
@@ -38374,7 +38374,7 @@
 
   <div class="impl">
 
-  <!-- v5 feature requests:
+  <!-- v6 feature requests:
 
    * Getting and setting colours by component to bypass the CSS value parsing.
 
@@ -38797,7 +38797,7 @@
   <!-- drawImage() has an equivalent paragraph -->
 
   <!--
-   Requests for v5 features:
+   Requests for v6 features:
     * apply transforms to patterns, so you don't have to create
       transformed patterns manually by rendering them to an off-screen
       canvas then using that canvas as the pattern.
@@ -38976,7 +38976,7 @@
   initially have the value <code>10.0</code>.</p>
 
   <!--
-v5: dashed lines have been requested. Philip Taylor provides these
+v6: dashed lines have been requested. Philip Taylor provides these
 notes on what would need to be defined for dashed lines:
 > I don't think it's entirely trivial to add, to the detail that's
 > necessary in a specification. The common graphics APIs (at least
@@ -39627,7 +39627,7 @@
   title="">y</var>) as the only point in the subpath.</p>
 
 
-  <!-- v5 feature request:
+  <!-- v6 feature request:
         * points as a primitive shape
           http://home.comcast.net/~urbanjost/canvas/vogle4.html
   -->
@@ -39816,7 +39816,7 @@
   to the rectangle with the top left corner at (0,0) and the width and
   height of the coordinate space.</p>
 
-  <!-- v5
+  <!-- v6
    Jordan OSETE suggests:
     * support ways of extending the clipping region (union instead of intersection)
        - also "add", "subtract", "replace", "intersect" and "xor"
@@ -40320,7 +40320,7 @@
 
   </ol>
 
-<!--v5DVT - this is commented out until CSS can get its act together
+<!--v6DVT - this is commented out until CSS can get its act together
 enough to actual specify vertical text rendering (how long have we
 been waiting now?)
 
@@ -40470,7 +40470,7 @@
 
   </ol>
 
-v5DVT (also check for '- -' bits in the part above) -->
+v6DVT (also check for '- -' bits in the part above) -->
 
   <p>The <dfn
   title="dom-context-2d-measureText"><code>measureText()</code></dfn>
@@ -40508,8 +40508,8 @@
   area of the canvas that the clipping region covers, not just the box
   given by the em square height and measured text width.</p>
 
-  <!-- v5: Drawing text along a given path -->
-  <!-- v5: Adding text to a path -->
+  <!-- v6: Drawing text along a given path -->
+  <!-- v6: Adding text to a path -->
   <!-- see also: http://www.w3.org/TR/SVG11/text.html#TextpathLayoutRules -->
   <!-- see also: http://developer.mozilla.org/en/docs/Drawing_text_using_a_canvas -->
 




More information about the Commit-Watchers mailing list