Skip to content

Commit 6f7693a

Browse files
committed
More editorial.
1 parent f07f83a commit 6f7693a

2 files changed

Lines changed: 13 additions & 12 deletions

File tree

css3-images/Overview.html

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -768,11 +768,14 @@ <h4 class=no-toc id=radial-gradient-syntax><span class=secno>5.2.1. </span>
768768
</pre>
769769

770770
<p>The first argument to the function specifies the center of the ellipse.
771-
<i>&lt;bg-position></i> is taken from the Backgrounds and Borders Module,
772-
and has the same definition. It specifies the center of the gradient. If
773-
omitted, it defaults to &lsquo;<code class=css>center</code>&rsquo;.
774-
Color-stop positions are measured along an imaginary line extending from
775-
the center of the gradient to the right.
771+
It takes the same syntax as the &lsquo;<code
772+
class=property>background-position</code>&rsquo; property, and is resolved
773+
in the same way, except relative to the box rather than the background
774+
canvas. <span class=note>(Of course, in many circumstances these will be
775+
the same.)</span>
776+
777+
<p>If this argument is omitted, it defaults to &lsquo;<code
778+
class=css>center</code>&rsquo;.
776779

777780
<p>The second argument to the function specifies the size and shape of the
778781
ending-ellipse. This can be specified in two ways, with different
@@ -784,7 +787,7 @@ <h4 class=no-toc id=radial-gradient-syntax><span class=secno>5.2.1. </span>
784787
<dd>
785788
<p>The size and shape of the ending-ellipse can be defined
786789
<em>implicitly</em> with a size and shape keyword. The <a
787-
href="#ltshape"><i>&lt;shape></i></a> is defined as</p>
790+
href="#ltshape"><i>&lt;shape></i></a> keyword is defined as:</p>
788791

789792
<pre><code><dfn id=ltshape>&lt;shape></dfn> = circle | ellipse</code></pre>
790793

css3-images/Overview.src.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -509,11 +509,9 @@ <h4 class='no-toc' id='radial-gradient-syntax'>
509509
)
510510
</pre>
511511

512-
<p>The first argument to the function specifies the center of the ellipse.
513-
<i>&lt;bg-position></i> is taken from the Backgrounds and Borders Module, and
514-
has the same definition. It specifies the center of the gradient. If omitted,
515-
it defaults to ''center''. Color-stop positions are measured along an
516-
imaginary line extending from the center of the gradient to the right.</p>
512+
<p>The first argument to the function specifies the center of the ellipse. It takes the same syntax as the 'background-position' property, and is resolved in the same way, except relative to the box rather than the background canvas. <span class='note'>(Of course, in many circumstances these will be the same.)</span></p>
513+
514+
<p>If this argument is omitted, it defaults to ''center''.</p>
517515

518516
<p>The second argument to the function specifies the size and shape of the
519517
ending-ellipse. This can be specified in two ways, with different characteristics:</p>
@@ -523,7 +521,7 @@ <h4 class='no-toc' id='radial-gradient-syntax'>
523521
<dd>
524522
<p>The size and shape of the ending-ellipse can be defined
525523
<em>implicitly</em> with a size and shape keyword. The <i>&lt;shape></i>
526-
is defined as </p>
524+
keyword is defined as:</p>
527525

528526
<pre><code><dfn>&lt;shape></dfn> = circle | ellipse</code></pre>
529527

0 commit comments

Comments
 (0)