Skip to content

Commit

Permalink
[e] (2) Fix some more gradient wording issues.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@815 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed May 16, 2007
1 parent 1b5209f commit ba6f96d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
11 changes: 4 additions & 7 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<h1 id=html-5>HTML 5</h1>

<h2 class="no-num no-toc" id=working>Working Draft &mdash; 15 May 2007</h2>
<h2 class="no-num no-toc" id=working>Working Draft &mdash; 16 May 2007</h2>

<p>You can take part in this work. <a
href="http://www.whatwg.org/mailing-list">Join the working group's
Expand Down Expand Up @@ -15983,7 +15983,7 @@ interface <dfn id=imagedata>ImageData</dfn> {
the gradient must have a new stop placed, at offset <var
title="">offset</var> relative to the whole gradient, and with the color
obtained by parsing <var title="">color</var> as a CSS &lt;color&gt;
value. If multiple stops are placed at the same place on a gradient, they
value. If multiple stops are added at the same offset on a gradient, they
must be placed in the order added, with the first one closest to the start
of the gradient, and each subsequent one infinitesimally further along
towards the end point (in effect causing all but the first and last stop
Expand Down Expand Up @@ -16060,8 +16060,8 @@ interface <dfn id=imagedata>ImageData</dfn> {
title="">&omega;</var>)&nbsp;&gt;&nbsp;0</span>, starting with the value
of <var title="">&omega;</var> nearest to positive infinity and ending
with the value of <var title="">&omega;</var> nearest to negative
infinity, draw the circumference of the circle with radius of radius
<span>r(<var title="">&omega;</var>)</span> at position (<span>x(<var
infinity, draw the circumference of the circle with radius <span>r(<var
title="">&omega;</var>)</span> at position (<span>x(<var
title="">&omega;</var>)</span>, <span>y(<var
title="">&omega;</var>)</span>), with the color at <var
title="">&omega;</var>, but only painting on the parts of the canvas
Expand All @@ -16085,9 +16085,6 @@ interface <dfn id=imagedata>ImageData</dfn> {
the start circle (0.0) using the color of the first offset, the part of
the cone after the end circle (1.0) using the color of the last offset,
and areas outside the cone untouched by the gradient (transparent black).
If the two circles overlap, the effect is as if the second (end) circle is
painted on top of the first circle. The end circle is always filled with
the color of the last stop.

<p>Gradients must only be painted where the relevant stroking or filling
effects requires that they be drawn.
Expand Down
9 changes: 3 additions & 6 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -13552,7 +13552,7 @@ interface <dfn>ImageData</dfn> {
Otherwise, the gradient must have a new stop placed, at offset <var
title="">offset</var> relative to the whole gradient, and with the
color obtained by parsing <var title="">color</var> as a CSS
&lt;color&gt; value. If multiple stops are placed at the same place
&lt;color&gt; value. If multiple stops are added at the same offset
on a gradient, they must be placed in the order added, with the
first one closest to the start of the gradient, and each subsequent
one infinitesimally further along towards the end point (in effect
Expand Down Expand Up @@ -13638,7 +13638,7 @@ interface <dfn>ImageData</dfn> {
starting with the value of <var title="">&omega;</var> nearest to
positive infinity and ending with the value of <var
title="">&omega;</var> nearest to negative infinity, draw the
circumference of the circle with radius of radius <span>r(<var
circumference of the circle with radius <span>r(<var
title="">&omega;</var>)</span> at position (<span>x(<var
title="">&omega;</var>)</span>, <span>y(<var
title="">&omega;</var>)</span>), with the color at <var
Expand All @@ -13663,10 +13663,7 @@ interface <dfn>ImageData</dfn> {
the cone before the start circle (0.0) using the color of the first
offset, the part of the cone after the end circle (1.0) using the
color of the last offset, and areas outside the cone untouched by
the gradient (transparent black). If the two circles overlap, the
effect is as if the second (end) circle is painted on top of the
first circle. The end circle is always filled with the color of the
last stop.</p>
the gradient (transparent black).</p>

<p>Gradients must only be painted where the relevant stroking or
filling effects requires that they be drawn.</p>
Expand Down

0 comments on commit ba6f96d

Please sign in to comment.