W3C home > Mailing lists > Public > public-html-diffs@w3.org > March 2010

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

From: poot <cvsmail@w3.org>
Date: Fri, 12 Mar 2010 10:03:25 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20100312010325.9E3FE2BC02@toro.w3.mag.keio.ac.jp>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:18 GMT