Skip to content

Commit

Permalink
[e] (0) Clarify that setting strokeStyle or fillStyle to a Gradient i…
Browse files Browse the repository at this point in the history
…s affected by future invokationsinvocations of addColorStop().

git-svn-id: http://svn.whatwg.org/webapps@4842 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Mar 12, 2010
1 parent 431d993 commit fd881d6
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
8 changes: 7 additions & 1 deletion complete.html
Expand Up @@ -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 &mdash; 11 March 2010</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 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>-->
Expand Down Expand Up @@ -25565,6 +25565,11 @@ <h6 id=colors-and-styles><span class=secno>4.8.10.1.4 </span>Colors and styles</
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
Expand Down Expand Up @@ -90693,6 +90698,7 @@ <h3 class="no-num">Reflecting IDL attributes</h3>
Jason Lustig,
Jason White,
Jasper Bryant-Greene,
Jatinder Mann,
Jed Hartman,
Jeff Balogh,
Jeff Cutsinger,
Expand Down
8 changes: 7 additions & 1 deletion index
Expand Up @@ -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 &mdash; 11 March 2010</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 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>-->
Expand Down Expand Up @@ -25467,6 +25467,11 @@ idea from Mihai:
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
Expand Down Expand Up @@ -84254,6 +84259,7 @@ interface <a href=#htmldocument>HTMLDocument</a> {
Jason Lustig,
Jason White,
Jasper Bryant-Greene,
Jatinder Mann,
Jed Hartman,
Jeff Balogh,
Jeff Cutsinger,
Expand Down
6 changes: 6 additions & 0 deletions source
Expand Up @@ -27703,6 +27703,11 @@ idea from Mihai:
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
Expand Down Expand Up @@ -101611,6 +101616,7 @@ interface <span>HTMLDocument</span> {
Jason Lustig,
Jason White,
Jasper Bryant-Greene,
Jatinder Mann,
Jed Hartman,
Jeff Balogh,
Jeff Cutsinger,
Expand Down

0 comments on commit fd881d6

Please sign in to comment.