2Dapi; hixie: Clarify that setting strokeStyle or fillStyle to a Gradient is affected by future invokationsinvocations of addColorStop(). (whatwg r4842)

2Dapi; hixie: Clarify that setting strokeStyle or fillStyle to a
Gradient is affected by future invokationsinvocations of addColorStop().
(whatwg r4842)

http://dev.w3.org/cvsweb/html5/2dcontext/Overview.html?r1=1.22&r2=1.23&f=h
http://html5.org/tools/web-apps-tracker?from=4841&to=4842

===================================================================
RCS file: /sources/public/html5/2dcontext/Overview.html,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- Overview.html 4 Mar 2010 07:07:18 -0000 1.22
+++ Overview.html 12 Mar 2010 01:03:07 -0000 1.23
@@ -971,6 +971,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

Received on Friday, 12 March 2010 01:03:54 UTC