Skip to content

Commit

Permalink
Link to definition of color for stop-color syntax
Browse files Browse the repository at this point in the history
We previously defined the stop-color syntax as
`currentColor | <color> <icccolor>`
which would have suggested that `black icc-color(name)` is
a valid stop-color but `black` is not.
  • Loading branch information
ericwilligers committed Sep 6, 2019
1 parent 615dc95 commit 45d4039
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 1 addition & 3 deletions master/propidx.html
Expand Up @@ -210,9 +210,7 @@ <h1>Property Index</h1>
</tr>
<tr>
<th><a>'stop-color'</a></th>
<td>currentColor |<br />
<a>&lt;color&gt;</a>
[<a>&lt;icccolor&gt;</a>]</td>
<td>&lt;‘<a>'color'</a>’&gt;</td>
<td>black</td>
<td><a>'stop'</a> elements</td>
<td>no</td>
Expand Down
5 changes: 2 additions & 3 deletions master/pservers.html
Expand Up @@ -1158,7 +1158,7 @@ <h4 id="StopColorProperties">Properties</h4>
<p>
The <a>'stop-color'</a> property indicates what color to use
at that gradient stop. The keyword
<span class="attr-value">currentColor</span> and ICC colors
<span class="attr-value">currentColor</span> and other color syntaxes
can be specified in the same manner as within a
<a href="painting.html#SpecifyingPaint">&lt;paint&gt;</a>
specification for the <a>'fill'</a> and <a>'stroke'</a>
Expand All @@ -1173,8 +1173,7 @@ <h4 id="StopColorProperties">Properties</h4>
<a>'stop-opacity'</a> with the value '0'.
</p>
<dl class="propdef-svg2">
<dt>Value</dt>
<dd>currentColor | <a>&lt;color&gt;</a> <a>&lt;icccolor&gt;</a></dd>
<dt>Value</dt> <dd>&lt;‘<a>'color'</a>’&gt;</dd>
<dt>Initial</dt> <dd>black</dd>
<dt>Applies to</dt> <dd><a>'stop'</a> elements</dd>
<dt>Inherited</dt> <dd>no</dd>
Expand Down

0 comments on commit 45d4039

Please sign in to comment.