[html5] r4842 - [e] (0) Clarify that setting strokeStyle or fillStyle to a Gradient is affected [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Mar 11 17:02:57 PST 2010


Author: ianh
Date: 2010-03-11 17:02:55 -0800 (Thu, 11 Mar 2010)
New Revision: 4842

Modified:
   complete.html
   index
   source
Log:
[e] (0) Clarify that setting strokeStyle or fillStyle to a Gradient is affected by future invokationsinvocations of addColorStop().

Modified: complete.html
===================================================================
--- complete.html	2010-03-11 23:33:37 UTC (rev 4841)
+++ complete.html	2010-03-12 01:02:55 UTC (rev 4842)
@@ -157,7 +157,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <hgroup><h1>Web Applications 1.0</h1>
-    <h2 class="no-num no-toc">Draft Standard — 11 March 2010</h2>
+    <h2 class="no-num no-toc">Draft Standard — 12 March 2010</h2>
    </hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -25565,6 +25565,11 @@
   it must be ignored, and the attribute must retain its previous
   value.</p>
 
+  <p>When set to a <code><a href=#canvaspattern>CanvasPattern</a></code> or
+  <code><a href=#canvasgradient>CanvasGradient</a></code> object, the assignment is live, meaning
+  that changes made to the object after the assignment do affect
+  subsequent stroking or filling of shapes.</p>
+
   <p>On getting, if the value is a color, then the <a href=#serialization-of-a-color title="serialization of a color">serialization of the color</a>
   must be returned. Otherwise, if it is not a color but a
   <code><a href=#canvasgradient>CanvasGradient</a></code> or <code><a href=#canvaspattern>CanvasPattern</a></code>, then the
@@ -90693,6 +90698,7 @@
   Jason Lustig,
   Jason White,
   Jasper Bryant-Greene,
+  Jatinder Mann,
   Jed Hartman,
   Jeff Balogh,
   Jeff Cutsinger,

Modified: index
===================================================================
--- index	2010-03-11 23:33:37 UTC (rev 4841)
+++ index	2010-03-12 01:02:55 UTC (rev 4842)
@@ -161,7 +161,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <hgroup><h1>HTML5 (including next generation additions still in development)</h1>
-    <h2 class="no-num no-toc">Draft Standard — 11 March 2010</h2>
+    <h2 class="no-num no-toc">Draft Standard — 12 March 2010</h2>
    </hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -25467,6 +25467,11 @@
   it must be ignored, and the attribute must retain its previous
   value.</p>
 
+  <p>When set to a <code><a href=#canvaspattern>CanvasPattern</a></code> or
+  <code><a href=#canvasgradient>CanvasGradient</a></code> object, the assignment is live, meaning
+  that changes made to the object after the assignment do affect
+  subsequent stroking or filling of shapes.</p>
+
   <p>On getting, if the value is a color, then the <a href=#serialization-of-a-color title="serialization of a color">serialization of the color</a>
   must be returned. Otherwise, if it is not a color but a
   <code><a href=#canvasgradient>CanvasGradient</a></code> or <code><a href=#canvaspattern>CanvasPattern</a></code>, then the
@@ -84254,6 +84259,7 @@
   Jason Lustig,
   Jason White,
   Jasper Bryant-Greene,
+  Jatinder Mann,
   Jed Hartman,
   Jeff Balogh,
   Jeff Cutsinger,

Modified: source
===================================================================
--- source	2010-03-11 23:33:37 UTC (rev 4841)
+++ source	2010-03-12 01:02:55 UTC (rev 4842)
@@ -27703,6 +27703,11 @@
   it must be ignored, and the attribute must retain its previous
   value.</p>
 
+  <p>When set to a <code>CanvasPattern</code> or
+  <code>CanvasGradient</code> object, the assignment is live, meaning
+  that changes made to the object after the assignment do affect
+  subsequent stroking or filling of shapes.</p>
+
   <p>On getting, if the value is a color, then the <span
   title="serialization of a color">serialization of the color</span>
   must be returned. Otherwise, if it is not a color but a
@@ -101611,6 +101616,7 @@
   Jason Lustig,
   Jason White,
   Jasper Bryant-Greene,
+  Jatinder Mann,
   Jed Hartman,
   Jeff Balogh,
   Jeff Cutsinger,




More information about the Commit-Watchers mailing list